
Originally Posted by
xpleet
Hey,
I tested this pluging on glype, but the player doesn't play the video.. I can download the video using the red buttons bellow the video (Download FLV, ...) but I can't play it in the browser!
How do I fix this??
Hey xpleet,
Is the proxy the one in your sig (ffsurf)? If so, there is something wrong with the embedding of the player.swf. It's showing up as
Code:
http://www.ffsurf.com/GLYPE_URL/plugins/player.swf
when it should be :
Code:
http://www.ffsurf.com/plugins/player.swf
Did you accidentally edit something in the youtube.com.php file?
The correct area for those need no editing, here's the oringal:
PHP Code:
/* snip */
// Create URL to mediaplayer
$mediaPlayerUrl = GLYPE_URL . '/plugins/player.swf';
// Generate URL to flv file and preview image through proxy script
$flvUrl = rawurlencode(proxifyURL(sprintf('%s',file_flv)));
$imgUrl = rawurlencode(proxifyURL(sprintf('%s', file_img)));
//Your select high definition video
$HdflvUrl = rawurlencode(proxifyURL(sprintf('%s', file_flvhq)));
// Generate HTML for the flash object with our new FLV URL
$html = <<<OUT
<embed src="{$mediaPlayerUrl}"
width="620"
height="380"
bgcolor="000000"
allowscriptaccess="always"
allowfullscreen="true"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="width=620&height=380&type=video&fullscreen=true&volume=100&file={$flvUrl}&image={$imgUrl}&plugins=hd-1&hd.file={$HdflvUrl}&hd.state=false" />
OUT;
/* snip */
make sure your $mediaPlayerUrl and the <embed src= are the same as above
Bookmarks