AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

Fullscreen streches only up to video stream size #116

Closed nadavl closed 9 years ago

nadavl commented 9 years ago

If I play a 720p stream from a camera on a 1920 x 1080 screen resolution, the video size does not strech over the entire screen but only up to 1280px.

noseglid commented 9 years ago

This behavior can be altered by configuring locomote to do upscaling. This can be done by setting scaleUp to true:

var locomote = new Locomote('player', 'Player.swf');
locomote.config({ scaleUp: true });
nadavl commented 9 years ago

Thanks alot. Related question - how is it possible to programatically change to fullscreen?

gaetancollaud commented 9 years ago

You cannot due to security reasons.

The only way a flash application can go to full screen is by an action of the user on the flash application itself (normally by double clicking).

nadavl commented 9 years ago

Makes sense, thanks!