Keyword

Working GameTrailers Code

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 8 months ago - 17 years 8 months ago #5666 by 8-Bit Classics
Working GameTrailers Code was created by 8-Bit Classics
"gametrailers" => array("<object id=\"gtembed\" width=\".$cwidth.\" height=\".$cheight.\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <param name=\"movie\" value=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\"/> <param name=\"quality\" value=\"high\" /> <embed src=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\".$cwidth.\" height=\".$cheight.\"></embed> </object>", "#{gametrailers}(.*?){/gametrailers}#s") ,

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 8 months ago #5667 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Well I was just testing in FireFox, tried in IE 7, and doesn't display.  Hmm.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 8 months ago #5668 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Here is gamevideos.com code also, again only works in firefox, so I am missing something, anybody?

"gamevideos" => array("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\".cwidth.\" height=\".$cheight.\" id=\"gamevideos6\" align=\"middle\">www.gamevideos.com:80/swf/gamevideos11.swf?embedded=1&fullscreen=1&autoplay=0&src=http://www.gamevideos.com:80/video/videoListXML%3Fid%3D***code***%26ordinal%3D1185585231098%26adPlay%3Dfalse\" /> www.gamevideos.com:80/swf/gamevideos11.swf?embedded=1&fullscreen=1&autoplay=0&src=http://www.gamevideos.com:80/video/videoListXML%3Fid%3D***code***%26ordinal%3D1185585231098%26adPlay%3Dfalse\" quality=\"high\" pluginspage=\"www.macromedia.com/go/getflashplayer\" play=\"true\" loop=\"true\" scale=\"showall\" wmode=\"window\" devicefont=\"false\" id=\"gamevideos6\" bgcolor=\"#000000\" name=\"gamevideos6\" menu=\"true\" allowscriptaccess=\"sameDomain\" allowFullScreen=\"true\" type=\"application/x-shockwave-flash\" align=\"middle\" height=\"405\" width=\"420\"/>", "#{gamevideos}(.*?){/gamevideoss}#s") ,

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 8 months ago #5669 by 8-Bit Classics
Tested both, if you want to see it in action, go to www.gamingdealz.com and select a game, most have something attached now to it.

GameTrailers.com (replace old code with this code)
"gametrailers" => array("<object style=\"".$width." ".$height."\" id=\"gtembed\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <param name=\"movie\" value=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\"/> <param name=\"quality\" value=\"high\" /> <embed src=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" style=\"".$width." ".$height."\"></embed> </object>", "#{gametrailers}(.*?){/gametrailers}#s") ,

GameVideos.com (just insert underneath GameTrailers code
"gamevideos" => array("<object style=\"".$width." ".$height."\" id=\"gamevideos6\" align=\"middle\"><param name=\"quality\" value=\"high\"><param name=\"play\" value=\"true\"><param name=\"loop\" value=\"true\"><param name=\"scale\" value=\"showall\"><param name=\"wmode\" value=\"window\"><param name=\"devicefont\" value=\"false\"><param name=\"bgcolor\" value=\"#000000\"><param name=\"menu\" value=\"true\"><param name=\"allowScriptAccess\" value=\"sameDomain\"><param name=\"allowFullScreen\" value=\"true\"><param name=\"salign\" value=\"\"><param name=\"movie\" value=\"http://www.gamevideos.com:80/swf/gamevideos11.swf?embedded=1&fullscreen=1&autoplay=0&src=http://www.gamevideos.com:80/video/videoListXML%3Fid%3D***code***%26ordinal%3D1185585231098%26adPlay%3Dfalse\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#000000\" /> <embedsrc=\"http://www.gamevideos.com:80/swf/gamevideos11.swf?embedded=1&fullscreen=1&autoplay=0&src=http://www.gamevideos.com:80/video/videoListXML%3Fid%3D***code***%26ordinal%3D1185585231098%26adPlay%3Dfalse\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" play=\"true\" loop=\"true\" scale=\"showall\" wmode=\"window\" devicefont=\"false\" id=\"gamevideos6\" bgcolor=\"#000000\" name=\"gamevideos6\" menu=\"true\" allowscriptaccess=\"sameDomain\" allowFullScreen=\"true\" type=\"application/x-shockwave-flash\" align=\"middle\" style=\"".$width." ".$height."\"/></object>", "#{gamevideos}(.*?){/gamevideos}#s") ,

Tested in both IE 7, 6, and Firefox 2, if you are using another browser, click the link above and let post here if it does or doesn't work.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 6 months ago #5670 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Just an update, I noticed today that GameTrailers updated their code, so I might be updating this.  Since nobody seemed interested in it, don't know if I will post it though.

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

More
17 years 6 months ago #5671 by Pickerd
Replied by Pickerd on topic Re: Working GameTrailers Code
Yup. May not be a lot of replies, but you have over 500 views of your thread. I think that means ppl are interested. Please. Post away! It's killing me that I can't post GT vids.

Only thing I need to learn is where I put that code. I'm very new to joomla and the plugin.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 6 months ago #5672 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
I almost have it done, just a little more testing, and will post.  Thanks for replying, sometimes somebody wonders if anybody is out there :)

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 6 months ago #5673 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Here is the working code,
"gametrailers" => array("<object style=\"".$width." ".$height."\" id=\"gtembed\"><param name=\"allowScriptAccess\" value=\"sameDomain\" /> <param name=\"movie\" value=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\"/><param name=\"allowFullScreen\" value=\"true\" /><param name=\"quality\" value=\"high\" /> <embed src=\"http://www.gametrailers.com/remote_wrap.php?mid=***code***\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\" allowScriptAccess=\"sameDomain\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" style=\"".$width." ".$height."\"></embed> </object>", "#{gametrailers}(.*?){/gametrailers}#s") ,

Here is a bonus for the gaming sites, Xbox GamerTag Integration, use {xbox}{/xbox} with the GamerTag in between them.
"xbox" => array("<iframe src=\"http://gamercard.xbox.com/***code***.card\" scrolling=\"no\" frameBorder=\"0\" height=\"140\" width=\"204\">***code***</iframe>", "#{xbox}(.*?){/xbox}#s") ,

Just post it somewhere around the gametrailers area.

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

More
17 years 5 months ago #5674 by Tom R Earley
Replied by Tom R Earley on topic Re: Working GameTrailers Code
I'll be trying this out tomorrow.  Thanks loads for this!  :-* It's been driving me crazy! >:(

www.supersmartgames.com

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 5 months ago #5675 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
No prob, It looks like they just added a fullscreen video feature and for some stupid reason they defaulted it to fullscreen if the tag wasn't included.  There looks to be a post for GameDaily, I will try and tackle that this weekend also.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 5 months ago #5676 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Just you  ???

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 5 months ago #5677 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Yeah, I got it right after I posted, looks like their domain name was hijacked.

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

More
17 years 5 months ago #5678 by Pickerd
Replied by Pickerd on topic Re: Working GameTrailers Code
Newbie question Koltz. What file is it that has the code to be changed? Ive looked all thru my FTP and Im having troubles finding the all video's plugin, let alone the file I needed to access.

TY ia

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

More
17 years 5 months ago #5679 by Pickerd
Replied by Pickerd on topic Re: Working GameTrailers Code
Nobody? Would love to be able to use gametrailers vids, but new to joomla & allvideos and have no idea what file needs to be edited and where it's located.

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

More
17 years 4 months ago #5680 by Snoozer
Replied by Snoozer on topic Re: Working GameTrailers Code
Hi, I've just tried embedding a GT video on my site using the {Gametrailers}{/gamtrailers} tags and it appears but stalls on loading.

I tried uploading the video to my FTP server but it takes forever to buffer when it shouldn't.

Can someone walk me through what I'm doing with the code mentioned in this thread and where to put it / alter it so it works. This is one of the main reasons as to why I upgraded to a site from my blog, because it meant I could embed.

Any help would be much appriciated.

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

More
17 years 4 months ago - 17 years 4 months ago #5681 by webace98
Replied by webace98 on topic Re: Working GameTrailers Code
Gametrailers has changed their code so you need to update your php file.  Go to the mambots folder and then open the content folder - look for the all videos php file there - use a FTP program to copy it down to your PC. 

Then open up this file in notepad and scroll down almost half way to see the gametrailers section.

Replace what is there with:

"gametrailers" => array("<object style=\"".$width." ".$height."\" id=\"gtembed\"><param name=\"allowScriptAccess\"

value=\"sameDomain\" /> <param name=\"movie\" value=\"www.gametrailers.com/remote_wrap.php?mid=***code***\"/>
name=\"allowFullScreen\" value=\"true\" /><param name=\"quality\" value=\"high\" /> <embed

src=\"www.gametrailers.com/remote_wrap.php?mid=***code***\" swLiveConnect=\"true\" name=\"gtembed\" align=\"middle\"

allowScriptAccess=\"sameDomain\" quality=\"high\" pluginspage=\"www.macromedia.com/go/getflashplayer\"

type=\"application/x-shockwave-flash\" allowFullScreen=\"true\" style=\"".$width." ".$height."\"></embed> </object>", "#

{gametrailers}(.*?){/gametrailers}#s") ,

Then save the file in a new folder named something like "allvideos-gtfix.
Next go back to your ftp program and go back to the mambots/content folder and rename the old php file - its good to always save the original - just add -orig to the name before the file extension.  Then use the ftp program to upload your fixed php file.  That should do it.

This updated Gametrailers code is not mine - it is from Koltz who posted it earlier.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 1 month ago #5682 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Here is IGN code if anybody cares
"ign" => array("<embed src=\"http://videomedia.ign.com/ev/ev.swf\" flashvars=\"object_ID=***code***\" type=\"application/x-shockwave-flash\" width=\"433\" height=\"360\" ></embed>", "#{ign}(.*?){/ign}#s") ,

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

More
17 years 1 week ago #5683 by Pickerd
Replied by Pickerd on topic Re: Working GameTrailers Code
After finally wrestling permissions to edit the file, I was able to add the fixes GT code, but it doesn't work for me. Nothing comes up but the {gametrailers}123456{/gametrailers) tag.

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

  • 8-Bit Classics
  • 8-Bit Classics's Avatar Topic Author
  • Offline
  • Junior Member
More
17 years 1 week ago #5684 by 8-Bit Classics
Replied by 8-Bit Classics on topic Re: Working GameTrailers Code
Do you have the bot enabled?  The only other thing it could be is if you are embedding it into something that doesn't directly support embedding like VirtueMart.  Try embedding a youtube video or something similar, if it does the same thing, then it isn't enabled or isn't supported in the location you are embedding.

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

More
17 years 1 week ago #5685 by Pickerd
Replied by Pickerd on topic Re: Working GameTrailers Code
Nah. Everything else works fine. I embed Youtube & College Humor all the time. Did today actually. GT just wont take for me.

Another thing, off topic, that isnt documented well, is where do you put flash movies locally for the All Video's plugin to read them? Lets say I download a flash video to upload to my box, where do they go? Ive never figured that out.

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


Powered by Kunena Forum