Media Player on HTML5 Plugin

Questions, announcements and information regarding PlugIns for NeoAppBuilder

Moderator: Neosoft Support

Locked
User avatar
anton
Posts: 64
Joined: Fri Oct 19, 2012 9:21 pm

Media Player on HTML5 Plugin

Post by anton »

Image
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 Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Media Player on HTML5 Plugin

Post by Neosoft Support »

Very nice! Thanks Anton.
NeoSoft Support
User avatar
anton
Posts: 64
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Post by anton »

Neosoft Support wrote:Very nice! Thanks Anton.
Thank you. I'm a little touched up code plug and added another in the plug-in effect:
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.
User avatar
luishp
Posts: 410
Joined: Wed May 23, 2007 10:17 am
Location: Spain
Contact:

Re: Media Player on HTML5 Plugin

Post by luishp »

Thank you very much Anton! :-)
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
DELCO
Posts: 135
Joined: Fri Apr 01, 2005 9:12 am

Re: Media Player on HTML5 Plugin

Post by DELCO »

Thank you Anton !
User avatar
anton
Posts: 64
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Post by anton »

At the request of TinTin added a video looping command:

Code: Select all

bakLoopMediaFile "Container1" true
Download
User avatar
anton
Posts: 64
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Post by anton »

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

Code: Select all

bakCreateVideoPlayerPreload "Container1" "http://localhost/mpleertest/12345.mp4" true
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:

Code: Select all

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>
Download
Locked