Screen Resolution not changing

prakash_123

New Member
Thank you for your response.
It was really helpful and working very fine and smoothly.

We need one more favor regarding the resolution of the "<video>" tag . We want to stretch the video to full screen in all the devices but whenever we provide the resolution parameters its not accepting it and not giving us the proper output.
We seek for the solution by your side this will be really helpful for us.

Please see the below mentioned link of the player which gives black spaces when opened in any device.
"https://player.eagelseye.com:8888/e...WebRTC,Flash,MSE,WSPlayer&resolution=1600x796"

We are trying to dynamically change the resolution with the help of JavaScript but still its not working.
We don't want to match the aspect ratio as our clients want only one feature that it should be in full screen mode in any device opened from the web-url.
Whenever it works with the help of js it crops somewhat of screen height when opened in mobile devices that hides the footer content.

Thanks & Regards
Prakash
 

Max

Administrator
Staff member
Hello!

You can choose not to preset the size of the image on the server side, but to expand the image to full screen on the side of the end user's browser.

This can be done with just one Flashphoner API function.
Code:
stream.fullScreen()

This is how my stream play function looks like in full screen.
JavaScript:
unction playStream() {
       stream = session.createStream({
        name: "stream",
        display: document.getElementById("myPlayer"),
    }).on(STREAM_STATUS.PLAYING, function(stream) {
        stream.fullScreen()
    });
    stream.play();
}
Unfortunately, due to the restrictions imposed by browsers, it is not possible to activate full screen mode when loading an HTML page. User action required.
 
Top