Author Topic: How to make videos bigger?  (Read 1610 times)

0 Members and 1 Guest are viewing this topic.

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
How to make videos bigger?
« on: July 16, 2009, 01:56:58 PM »
Could do with the video embeds a bit bigger, which file do i edit?

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #1 on: July 16, 2009, 02:05:16 PM »
players.tpl

change all the detentions of the video that you want

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #2 on: July 16, 2009, 02:35:35 PM »
when i change the size of the youtube vid : Fatal error: Smarty error: [in players.tpl line 17]: syntax error: unexpected {elseif} (Smarty_Compiler.class.php, line 486) in /home/content/c/o/n/conflictgamers/html/www.gamestreams.net/gamevideos/libs/Smarty.class.php on line 1095

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #3 on: July 16, 2009, 02:44:48 PM »
i dont think you did something right.... let me see your code ..... just put it into acode bracket

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #4 on: July 16, 2009, 03:13:39 PM »
Code: [Select]
{if $vidtype eq "YouTube"}

<object width="500" height="405"><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

{elseif $vidtype eq "GoogleVideo"}

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" flashvars=""> </embed>

{elseif $vidtype eq "dailymotion"}

<div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object></div>

{else}
This video type is currently unsuppotred
{/if}

{elseif $vidtype eq "movielab"}

<script type="text/javascript" src="http://movielab.tv/embed/?id={$video[video].file}&height=335&width=425&auto=true"></script>


Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #5 on: July 16, 2009, 03:27:01 PM »
Code: [Select]
{if $vidtype eq "YouTube"}

<object width="500" height="405"><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

{elseif $vidtype eq "GoogleVideo"}

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" flashvars=""> </embed>

{elseif $vidtype eq "dailymotion"}

<div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object></div>

{elseif $vidtype eq "movielab"}

<script type="text/javascript" src="http://movielab.tv/embed/?id={$video[video].file}&height=335&width=425&auto=true"></script>

{else}
This video type is currently unsuppotred
{/if}

fixed all you did is added "<script type="text/javascript" src="http://movielab.tv/embed/?id={$video[video].file}&height=335&width=425&auto=true"></script>" that after the statement was ended.... it should work now

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #6 on: July 16, 2009, 03:31:55 PM »
yeah brill no errors, but still the size of the video does not change

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #7 on: July 16, 2009, 03:34:34 PM »
which ones are you try8ing to change and what are you trying to change them 2

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #8 on: July 16, 2009, 03:46:07 PM »

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #9 on: July 16, 2009, 03:51:31 PM »
They already are bud

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #10 on: July 16, 2009, 04:00:01 PM »
I'm in firefox and i see no change

I changed the size to  width="660" height="525" and still it stays the same.

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #11 on: July 16, 2009, 04:05:31 PM »
im also using firefox... what are you trying to change the player or the video.... if its the player changing the detentions will do what you want.... but you cant change the video if youtube doesnt allow it to be bigger

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #12 on: July 16, 2009, 04:20:06 PM »

height and width of the video

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: How to make videos bigger?
« Reply #13 on: July 16, 2009, 04:24:49 PM »
you just gotta keep on messing with these to make it better

Quote
{if $vidtype eq "YouTube"}

<object width="500" height="405"><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

{elseif $vidtype eq "GoogleVideo"}

Offline neogrant

  • phpd Basic Member
  • **
  • Posts: 57
  • Karma: 0
    • View Profile
Re: How to make videos bigger?
« Reply #14 on: July 16, 2009, 04:39:16 PM »