- Posts: 4
COMMUNITY FORUM
Found a gametrailers.com Fix
- furnaps
-
Topic Author
- Offline
- New Member
The player is way to small for some reason: gamingoodz.com/cms/index.php/Misc/allvideos-test.html
If anyone is having a problem getting videos from gametrailers.com to work I came up with a code that works but for some reason the player is very small so after I fix that it will work perfect.
I will update this thread id there are any changes to the code so people can finally use gametrailers.com videos again..
Here is the code I have SO FAR now remember I still have to fix the size issue so if someone knows how to do that please let me know so we can get a perfect code..
"gametrailers" => array("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" style=\"".$width." ".$height."\" id=\"gtembed\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"true\"/>
<param name=\"movie\" value=\"http://www.gametrailers.com/remote_wrap.php?mid=34647\"/>
<param name=\"quality\" value=\"high\" />
<embed src=\"http://www.gametrailers.com/remote_wrap.php?mid=34647\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"".$width." ".$height."\" />
</object>", "#{gametrailers}(.*?){/gametrailers}#s") ,
How to add the code:
Navigate to mambots/content/plugin_jw_allvideos.php
with a file manager provided by your hosting provider Or Download a copy of the file Via FTP and make the changes then Upload it again.
Open the plugin_jw_allvideos.php file to edit it go down to where it says
"gametrailers" => array("<script type=\"text/javascript\" ..............
And replace it with the code I provided..
If someone looks at this code and knows how to fix the sizing issue please reply because I am not any good with php i just took a guess.
Please Log in or Create an account to join the conversation.
- furnaps
-
Topic Author
- Offline
- New Member
- Posts: 4
"gametrailers" => array("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" style=\"".$width." ".$height."\" id=\"gtembed\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"true\"/>
<param name=\"movie\" value=\"http://www.gametrailers.com/remote_wrap.php?mid=34647\"/>
<param name=\"quality\" value=\"high\" />
<embed src=\"http://www.gametrailers.com/remote_wrap.php?mid=34647\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" style=\"".$width." ".$height."\" />
</object>", "#{gametrailers}(.*?){/gametrailers}#s") ,
Please Log in or Create an account to join the conversation.
- Canuck
-
- Offline
- Senior Member
Please Log in or Create an account to join the conversation.
- Nomed
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- World News Media
-
- Offline
- New Member
- Posts: 4
Actually it works like a charme, just replace the video id number with ***code*** and it works. :)This is not a fix... now only show the Resident evil 5 video...
Here's the correct code:
"gametrailers" => array("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" style=\"".$width." ".$height."\" id=\"gtembed\">
<param name=\"allowScriptAccess\" value=\"sameDomain\" />
<param name=\"allowFullScreen\" value=\"true\"/>
<param name=\"movie\" value=\"www.gametrailers.com/remote_wrap.php?mid=***code***\"/>
<param name=\"quality\" value=\"high\" />
<embed src=\"www.gametrailers.com/remote_wrap.php?mid=***code***\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"true\" quality=\"high\" pluginspage=\"www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" style=\"".$width." ".$height."\" />
</object>", "#{gametrailers}(.*?){/gametrailers}#s") ,
Please Log in or Create an account to join the conversation.
- Pickerd
-
- Offline
- New Member
- Posts: 6
All jokes aside, TYVM. I can post GT vids! Woot!
Please Log in or Create an account to join the conversation.