I use jwplayer how video player in video pages.. example - http://fff.satellite.fm/film/a-grand-pursuit/
The code for the video player include the path to the file:
var $video = jwplayer( 'video-39907' ).setup( {
file : 'http://fff.satellite.fm/wp-content/fff-uploads-bucket/2016/12/MAFF-A-Grand-Pursuit-Trailer.mp4',
type : 'mp4',
image : 'http://fff.satellite.fm/wp-content/fff-uploads-bucket/2015/10/A-Grand-Pursuit-Vertical.jpg (Not automatically expanded because 4MB is too large. You can expand it anyway or open it in a new window.) ',
mediaid : 'fBmNw3v7'
} );
but if someone look to the page code they can copy and paste the video url and see/download the video.. so what I'm trying to do is server the video using a PHP script.. so I can make some checks in that PHP script to server or not the video.. on desktop the script work (at least on my side) but on iphone/ipad not work.
var $video = jwplayer( 'video-39907' ).setup( {
file : 'http://fff.satellite.fm/?&nfm=play&nff=39907&nfv=43357&nfb=410237682586bfc29845444.20339093,
type : 'mp4',
image : 'http://fff.satellite.fm/wp-content/fff-uploads-bucket/2015/10/A-Grand-Pursuit-Vertical.jpg (Not automatically expanded because 4MB is too large. You can expand it anyway or open it in a new window.) ',
mediaid : 'fBmNw3v7'
} );
Any help?
↧