Source language: Translate to:

Media Player on HTML5 Plugin

Questions, announcements and information regarding PlugIns for NeoAppBuilder

Moderator: Neosoft Support

Media Player on HTML5 Plugin

Postby anton » Sat Jan 16, 2016 4:32 am

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
User avatar
anton
 
Posts: 60
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Postby Neosoft Support » Sat Jan 16, 2016 3:07 pm

Very nice! Thanks Anton.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Media Player on HTML5 Plugin

Postby anton » Sun Jan 17, 2016 1:20 am

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
anton
 
Posts: 60
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Postby luishp » Mon Jan 18, 2016 5:14 am

Thank you very much Anton! :-)
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 359
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Media Player on HTML5 Plugin

Postby DELCO » Sat Jan 30, 2016 4:22 am

Thank you Anton !
User avatar
DELCO
 
Posts: 132
Joined: Fri Apr 01, 2005 9:12 am

Re: Media Player on HTML5 Plugin

Postby anton » Thu Oct 26, 2017 5:53 am

At the request of TinTin added a video looping command:
Code: Select all
bakLoopMediaFile "Container1" true

Download
User avatar
anton
 
Posts: 60
Joined: Fri Oct 19, 2012 9:21 pm

Re: Media Player on HTML5 Plugin

Postby anton » Wed Nov 01, 2017 12:32 am

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
User avatar
anton
 
Posts: 60
Joined: Fri Oct 19, 2012 9:21 pm


Return to NeoAppBuilder PlugIns

Who is online

Users browsing this forum: No registered users and 1 guest

cron