TinyPortal

Development => Support => Topic started by: zapiy on January 23, 2009, 11:13:29 PM

Title: Viddler video center and top?
Post by: zapiy on January 23, 2009, 11:13:29 PM
Link to my site: http://www.maturevideogamer.co.uk
SMF version: SMF 1.1.7
TP version: 1.05
Theme name and version: Dzinerstudios Cargo
Mods installed: E Arcade and TP only
Related Error messages: none

I am trying to add vids on the front pages but it displays poorly???

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body>
<table border="0" width="47%">
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="545" height="349" id="viddler_630495fb"><param name="movie" value="http://www.viddler.com/player/630495fb/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/630495fb/" width="545" height="349" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler_630495fb" ></embed></object></td>
</tr>
</table>
</body>

</html>
Title: Re: Viddler video center and top?
Post by: G6Cad on January 23, 2009, 11:25:24 PM
Killzone 2

Parse error: syntax error, unexpected '<' in /home/maturevg/public_html/maturevideogamer.co.uk/Sources/Load.php(1735) : eval()'d code(52) : eval()'d code on line 1



That error indicates that you have the php tags left in that code you use for what you are trying to show.
Remove the first and last php tags and see if it works
Title: Re: Viddler video center and top?
Post by: zapiy on January 23, 2009, 11:27:34 PM
sorry m8 i am not that skilled at this yet?

which should i move?

oh its in a html block not a php...

Title: Re: Viddler video center and top?
Post by: G6Cad on January 23, 2009, 11:32:19 PM
Bha, i meant the html tags, the first and last
Title: Re: Viddler video center and top?
Post by: zapiy on January 23, 2009, 11:34:12 PM
Just shows an error on the frontpage now?
Title: Re: Viddler video center and top?
Post by: JPDeni on January 23, 2009, 11:34:41 PM
Use this:


<table width="47%" border="0">
<tbody>
<tr>
<td>
<object height="349" width="545" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="viddler_630495fb">
<param name="movie" value="http://www.viddler.com/player/630495fb/" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<embed height="349" width="545" src="http://www.viddler.com/player/630495fb/" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" name="viddler_630495fb" />
</object>
</td>
</tr></tbody></table>


Make sure you either are using an html article -- don't use the wysiwyg editor -- or a scriptbox.
Title: Re: Viddler video center and top?
Post by: zapiy on January 23, 2009, 11:37:19 PM
OK both of those actually display the video but if you take a look the vid is not at the top of the block...
Title: Re: Viddler video center and top?
Post by: JPDeni on January 23, 2009, 11:39:06 PM
Then take it out of the table.


<object height="349" width="545" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="viddler_630495fb">
<param name="movie" value="http://www.viddler.com/player/630495fb/" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<embed height="349" width="545" src="http://www.viddler.com/player/630495fb/" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" name="viddler_630495fb" />
</object>
Title: Re: Viddler video center and top?
Post by: zapiy on January 23, 2009, 11:41:42 PM
Cheers thats slightly better.

Anyway to make fit the block tightly?
Title: Re: Viddler video center and top?
Post by: IchBin on January 24, 2009, 12:33:44 AM
I'm guessing you used the editor to add your code, it has added a < br > tag after each of your lines. It would fit a little better if you did it the way Deni told you to without using the editor as it adds extra code.