It is currently Tue Jun 18, 2013 12:52 am


Post a new topicPost a reply Page 1 of 1   [ 6 posts ]
Author Message
 Post subject: HTML5 $videofile variable is blank
PostPosted: Thu Jun 16, 2011 5:15 pm 

Joined: Thu Jun 16, 2011 5:11 pm
Posts: 3
When I try to get a video to play (source is url) it works fine in flash, but the $videofile variable is blank in the HTML5 VIDEO tag. This is weird as the $imagefile variable and other variables are being set.

The only way I could fix it was to manually set the $videofile based on the value of $arguments['id']. Is there something I can do to get my code to pick up the $videofile url?

if ($arguments['id'] == 6) {
$videofile = 'https://s3.amazonaws.com/FOLDER/FILENAME1.mp4';
}
if ($arguments['id'] == 7) {
$videofile = 'https://s3.amazonaws.com/FOLDER/FILENAME2.mp4';
}
if ($arguments['id'] == 8) {
$videofile = 'https://s3.amazonaws.com/FOLDER/FILENAME3.mp4';
}
$output .= ' <video id="video" src="'.$videofile.'" poster="'.$imagefile.'" width="'.$width.'" height="' . $height . '" autobuffer controls onerror="failed(event)">Html5 Not support This video Format.</video>';


Top
 Profile E-mail  
 
 Post subject: Re: HTML5 $videofile variable is blank
PostPosted: Mon Jun 27, 2011 7:53 am 

Joined: Wed Jul 07, 2010 8:49 am
Posts: 120
HI,

This feature is not available. Our html 5 player does not have the feature of playing streaming videos. You can play only Youtube video and uploaded file formats which is stored on your server.




Thanks


Top
 Profile E-mail  
 
 Post subject: Re: HTML5 $videofile variable is blank
PostPosted: Tue Nov 29, 2011 12:27 am 

Joined: Thu Jun 16, 2011 5:11 pm
Posts: 3
Why is this not a feature. If I can solve it so easy, is there a reason you guys are blocking this?
I'm going to have to find an alternative. I can't fix this every time I launch a site.


Top
 Profile E-mail  
 
 Post subject: Re: HTML5 $videofile variable is blank
PostPosted: Tue Nov 29, 2011 6:30 am 

Joined: Wed Jul 07, 2010 8:49 am
Posts: 120
Hi,

Please ignore the previous post. Kindly follow the below steps to fix this.

Modify the following code in the file hdflvplugin.php in the following file path wp-content/plugins/contus-hd-flv-player/hdflvplugin.php


Find the below code in the file

<video id="video" src="'.$videofile.'" poster="'.$imagefile.'" width="'.$width.'" height="' . $height . '" autobuffer controls onerror="failed(event)">

and now replace the below code

<video id="video" src="'.$file.'" poster="'.$imagefile.'" width="'.$width.'" height="' . $height . '" autobuffer controls onerror="failed(event)">


If this does not work please download the latest package from wordpress.org and install it.

Hope this can help you to play the video in HTML5 player

Thanks

Arun


Top
 Profile E-mail  
 
 Post subject: Re: HTML5 $videofile variable is blank
PostPosted: Tue Nov 29, 2011 10:37 pm 

Joined: Thu Jun 16, 2011 5:11 pm
Posts: 3
Awesome work guys! You have the best player. So happy you could make this minor fix.


Top
 Profile E-mail  
 
 Post subject: Re: HTML5 $videofile variable is blank
PostPosted: Fri Dec 16, 2011 2:25 am 

Joined: Fri Dec 16, 2011 2:12 am
Posts: 1
Hi,

Thanks for your valuable feedback. If you have further queries, please contact our support team at support@hdflvplayer.net. We will happy to assist you.

Thanks
Deepa.K


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 6 posts ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

© Copyrights and all rights reserved by Contus Support