Keyword

Found a gametrailers.com Fix

  • furnaps
  • furnaps's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago - 16 years 10 months ago #14545 by furnaps
Found a gametrailers.com Fix was created by furnaps
Ok well after having a topic posted for a month with no help I took things into my own hands and figured it out..KINDA

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
  • furnaps's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago - 16 years 10 months ago #14546 by furnaps
Replied by furnaps on topic Re: Found a gametrailers.com Fix
Ok Here is the Fixed code to use Gametrailers.com Videos! Enjoy
"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.

More
16 years 10 months ago #14547 by Canuck
Replied by Canuck on topic Re: Found a gametrailers.com Fix
Works great, Thanks!!  :)

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago - 16 years 10 months ago #14548 by Nomed
Replied by Nomed on topic Re: Found a gametrailers.com Fix
This is not a fix... now only show the Resident evil 5 video...

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago - 16 years 9 months ago #14549 by World News Media
Replied by World News Media on topic Re: Found a gametrailers.com Fix

This is not a fix... now only show the Resident evil 5 video...

Actually it works like a charme, just replace the video id number with ***code*** and it works. :)

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.

More
16 years 9 months ago #14550 by Pickerd
Replied by Pickerd on topic Re: Found a gametrailers.com Fix
Finally! It works! Now the wait til June for AV3 won't be so bad....

All jokes aside, TYVM. I can post GT vids! Woot!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum