pachel
06-04-2011, 06:42 PM
This is for a video embed that is html encoded.
replacement:
http://romhacktube.com/player/pak_player/pakplayer.swf?config=http%3A%2F%2Fromhacktube.com% 2Fplayer%2Fpak_player%2Fembed_player.php%3Fvid%3D{ param}%26json%3Dtrue%26autoplay%3Dno
example of bbcode:
ar6ydrk8b79h
But it does not parse it how can I solve this?
The url to the video is: http://romhacktube.com/watch_video.php?v=ar6ydrk8b79h
Frosty
06-04-2011, 09:56 PM
Okay, I've tried with their normal player, but had no luck. So I've decided to just hotlink the file (bandwidth probably isn't their problem) , download JW Player:
http://www.longtailvideo.com/players/jw-flv-player/?page=upgrade
Upload it...
Add this as replacement:
<script type='text/javascript' src='/player/swfobject.js'></script>
<div id="player_{param}" align="center">Something went wrong. Refresh the page, or update your Flash player.</div>
<script type='text/javascript'>
var so = new SWFObject('/player/player.swf','jsplayer_{param}','720','480','6','#0 00000');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable("file","http://romhacktube.com/files/videos/{param}.flv");
so.addVariable("image","http://romhacktube.com/files/thumbs/{param}-1.jpg");
so.addVariable("width","720");
so.addVariable("height","480");
so.addVariable("javascriptid","jsplayer_{param}");
so.addVariable("enablejs","true");
so.addVariable("type","video");
so.addParam('allownetworking','all');
so.addVariable('controlbar','bottom');
so.addVariable("showdigits","true");
so.addVariable("showstop","true");
so.addVariable("stretching","uniform");
so.addVariable("smoothing","true");
so.addVariable("autostart","false");
so.write("player_{param}");
</script>
Example:
13072024774fe62
Now, the good part.. How to get the real video ID? Basically, either go view page source, and type ".flv" in the search form, you'll get something like "13072024774fe62", just copy-paste that part, and wrap it in the rht bb code...
It'll look like this:
http://i.imgur.com/RRn84.png
I know thumbs aren't good as they don't save quality thumbs, but hey... At least the video is fully functional! ;P
pachel
06-05-2011, 11:01 AM
Well frosty and me solved it through msn.
With the pakplayer we got it working.
I'd like to thanks frosty for being so generous to help.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.