Hi, I want to update jwplayer for work with hls streaming (jwplayer 6.12 premium).
I try to do this:
https://www.schwarz.eu/oss/wiki/2011/03/mediacore-%E2%80%93-an-extensible-video-platform
but in this line I have a error: insert into players (name, enabled, priority, created_on, modified_on, data) VALUES ('my_player', false, max(priority)+1, now(), now(), '{}');
ERROR 1111 (HY000): Invalid use of group function
I like to use jwplayer and embed the player with this code:
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
file: "http://urltohlsserver/avideo.mp4/playlist.m3u8",
image: "/images/media/5l.jpg",
androidhls: "true",
width: xx0,
height: xx0
});
</script>
I try to modify directy the jwplayer code in lib/players.py but when thw url contains m3u8 por hls streaming load a video tag <video poster="/images/media/5l.jpg" source...</video> I need to modify that for my custom embed code.
Somebody can help me, or have a full code example of a custom player for mediadrop??.
I am java programer, not python programer, this is other problem
Sorry. My English is bad.
Regards.
Rubén.