Fullscreen js flv player

I am developing my custom video control using jquery, javascript. for this I choose js flv player without any control panel, so I almost developed a control panel and all the options using my listner javascript object, but now there is no full-screen method in this js flv player.

any body knows how I can control the full screen option, I use the following flv player

flv-player.net

+4
source share
3 answers

According to their frequently asked questions :

Fullscreen only works with Flash Player newer than 9.0.16 .

It is controlled by the showfullscreen parameter, which explicitly mentions that it only works with Flash v9.0.16 or higher.

An alternative is to switch to the FlowPlayer plugin. I used it in the current project with great success. It provides many advanced options and supports mobile devices (iPad, etc.).

Here's a demo of Flowplayer for switching to full screen mode: Forcing to watch a video in full screen
One more: Custom overlay action with overlay

+4
source

The best player would be videojs . Really flexible. I used it in one of my projects, and I would recommend this for you. The default is full screen. Uses js and flash in general.

+3
source

DEMO: http://so.devilmaycode.it/js-flv-player-fullscreen-option/

NOTE: as the author of FLASH Player explained here

  • Fullscreen only works with Flash Player newer than 9.0.16.
  • Full screen mode is not compatible with wmode transparency.

so that we can at least simulate a full screen for those who do not support it, using $(document) width / height (or whatever) to fix the player size: use the wmode property; this way you can use CSS position and z-index to display the controls over the player.

UTILS: Detecting Flash Player Versions and Embedding SWF Files in SWFObject

+1
source

Source: https://habr.com/ru/post/1344878/


All Articles