Keyword

Hello JW Comunity, I need G4TV.com

More
15 years 4 months ago - 15 years 4 months ago #19509 by korb
I found a nice resource for gamers, science and more on www.g4tv.com

I tried to embed it with allvideos reloaded but I cannot code the URL recognision.

I ask you how can I integrate it, I will paste a link
www.g4tv.com/xplay/videos/35564/Hands_On_Preview_Street_Fighter_IV.html

and the website's embed code
<object width="480" height="418" id="VideoPlayer"><param name="movie" value="http://www.g4tv.com/lv3/35597" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.g4tv.com/lv3/35597" type="application/x-shockwave-flash" name="VideoPlayer" width="480" height="418" allowScriptAccess="always" allowFullScreen="true" /></object>

Please help,
Thanks

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

More
15 years 4 months ago #19510 by korb
Replied by korb on topic Re: Hello JW Comunity, I need G4TV.com
OK I found it!
It is much easier than allvideos reloaded, I figured it out:
plugins/content/jw_allvideos_sources.php
// G4tv http://www.g4tv.com/lv3/
"g4tv" => "
<span style=\"width:480px;height:418px;\" name=\"VideoPlayer\" class=\"allvideos_player\" title=\"Video PLayer\">
<object width=\"480\" height=\"418\" id=\"VideoPlayer\">
<param name=\"movie\" value=\"http://www.g4tv.com/lv3/{AVSOURCE}\" />
<param name=\"allowScriptAccess\" value=\"always\" />
<param name=\"allowFullScreen\" value=\"true\" />
<embed src=\"http://www.g4tv.com/lv3/{AVSOURCE}\" type=\"application/x-shockwave-flash\" name=\"VideoPlayer\" width=\"480\" height=\"418\" allowScriptAccess=\"always\" allowFullScreen=\"true\" />
	</object>
</span>
",

See ya

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

More
15 years 4 months ago #19511 by vegathechosen
Replied by vegathechosen on topic Re: Hello JW Comunity, I need G4TV.com
i added the code you provided but i got this error
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /plugins/content/jw_allvideos/jw_allvideos_sources.php on line 3

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

More
15 years 4 months ago #19512 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Hello JW Comunity, I need G4TV.com
@korb

I'll add G4TV.com on the next release of AllVideos.  ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
15 years 1 month ago #19513 by korb
Replied by korb on topic Re: Hello JW Comunity, I need G4TV.com
In this actual release, there is no G4TV embed code added.

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

More
15 years 1 month ago #19514 by korb
Replied by korb on topic Re: Hello JW Comunity, I need G4TV.com

i added the code you provided but i got this error
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /plugins/content/jw_allvideos/jw_allvideos_sources.php on line 3

It's impossible man, maybe you haven't pasted the code where it should be, I mean inside <?php code ?> tags, and funny is that from line 2 to line 9 we have this:
/*
// "AllVideos" Plugin by JoomlaWorks for Joomla! 1.5.x - Version 2.5.3
// Copyright (c) 2006 - 2008 JoomlaWorks, a Komrade LLC company. All rights reserved.
// Released under the GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
// More info at https://www.joomlaworks.net
// Designed and developed by the JoomlaWorks team
// *** Last update: August 10th, 2008 ***
*/

Hint, you should search for youtube or google and add this code after one of these, and don't forget the comma ending....

usage is
{g4tv}no-space-here-VIDEO_ID-no-space-here{/g4tv}

See ya

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


Powered by Kunena Forum