This is a media player plugin for improving the playback of audio or video.
We can use inline framework for media player but we may have the following problems as before:
- we can’t control the playback of media
- no sound when played on the mobile device
So i made the plugin,it’s based on javascript.
#Get Started
##.Add core js to page:
add a action: link to url on pageload,
javascript:var script = $(’’); $(‘head’).append(script);
##.Player setting
1.add a Box2 as player, name it unique as: lylares_player_frame,you can add any style but it’s can’t be hide
2.add media play url to :lylares_player_frame
3.add a primary button as play button,name it as :lylares_play
4.add a primary button as pause button ,name it as :lylares_pause
Now enjoy you player.