Media Player on HTML5 Plugin
Moderator: Neosoft Support
Media Player on HTML5 Plugin
Plug-in Media Player in HTML5 adds Neo AppBuilder opportunity to work with audio and video files.
Actions Plugin (Google Translate):
bakCreateVideoPlayer - Create a container object in the video player. Supported video formats - MP4.
bakCreateAudioPlayer - Create a container object in the audio player. Supported audio format - MP3.
bakNewMediaFile - Upload to an existing video/audio player is a new file for playback.
bakPlayMediaFile - Start playback of audio/video content
bakPauseMediaFile - pause playback of audio/video content
bakStopMediaFile - Stop playback of audio/video content
bakSpeedMediaFile - Change the playback speed of audio/video content. It is advisable to use a range of speeds from 50 to 200.
bakVolumeMediaFile - Change the playback volume of audio/video content. Use the volume range of values from 0 to 100.
bakDurationMediaFile - Get the total duration of the playback of audio/video content in seconds and preserve the value of a variable.
bakBufferMediaFile - Get the value of the playback of audio/video content in seconds and placed in a buffer to maintain the value of a variable.
bakCTMediaFile - Get the current time playback of audio/video content in seconds and preserve the value of the variable.
bakRewCTMediaFile - Rewind the playback audio/video content at a specific time. The value must be specified in seconds and does not exceed the total duration of the video.
bakVideoPlayerFullScreen - Expand the video player to full screen.
bakRemoveMediaFile - delete the object of audio/video. Undocumented features of HTML5, does not work in all browsers.
Demo Download Plugin
-
- NeoSoft Team
- Posts: 5628
- Joined: Thu Mar 31, 2005 10:48 pm
- Location: Oregon, USA
- Contact:
Re: Media Player on HTML5 Plugin
Thank you. I'm a little touched up code plug and added another in the plug-in effect:Neosoft Support wrote:Very nice! Thanks Anton.
bakScreenVideoPlayer - Creates screenshot video player and places it in the container object. It can be saved as an image, using the context menu Right-click.
Re: Media Player on HTML5 Plugin
Thank you very much Anton!
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
http://sinlios.com
Re: Media Player on HTML5 Plugin
Thank you Anton !
Re: Media Player on HTML5 Plugin
At the request of TinTin added a video looping command:
Download
Code: Select all
bakLoopMediaFile "Container1" true
Re: Media Player on HTML5 Plugin
At the request of "TinTin" added the command to create a video player after the full download of the video on the site. Very dubious desire, especially for large files.
After executing the command, the global variable [bakVideoLoad] will be created, which will contain the percentage of the current movie upload with possible values from 0 to 100
Important:
The path to the video clip must necessarily be a URL (http: \\, https: \\, data: \\)
If the video clip is downloaded from another domain, then on the server where the video materials lie there should be appropriate permissions for cross domain requests (CORS).
The easiest way to implement this is to create a file named .htaccess on the web server with video clips and write in it:
Download
After executing the command, the global variable [bakVideoLoad] will be created, which will contain the percentage of the current movie upload with possible values from 0 to 100
Code: Select all
bakCreateVideoPlayerPreload "Container1" "http://localhost/mpleertest/12345.mp4" true
The path to the video clip must necessarily be a URL (http: \\, https: \\, data: \\)
If the video clip is downloaded from another domain, then on the server where the video materials lie there should be appropriate permissions for cross domain requests (CORS).
The easiest way to implement this is to create a file named .htaccess on the web server with video clips and write in it:
Code: Select all
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>