I need to know how to make the player play a video dynamically for example: http://video.com/viewer.php?file=123.flv where 123.flv will be played i am working with jwpayer
<script type="text/javascript">
jwplayer("test").setup({
file:"a.mp3",
hieght:360,
modes:[
{ type:'html5' }
]
});
thanks in advance
To work with your original code:
<script type="text/javascript">
jwplayer("test").setup({
file:"<?php echo htmlentities($_GET['file']); ?>",
hieght:360,
modes:[
{ type:'html5' }
]
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.