rejetto forum

Adding .flv to the preview button on folders

0 Members and 1 Guest are viewing this topic.

Offline draguls

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
I'm using the thunderchicken skin.
I was wandering if I could make the preview button on a folder containing a movie play the trailer I have downloaded from youtube?
My movies are in dir's like this: http://mysite.com/movies/%item-name%/moviefile.avi
I was thinking of making the previewbutton look for a .flv hosted somewhere else on my site (something like http://mysite.com/trailers/%item-name%.flv).
Would be cool if it then spawned the rawr player in the preview box and then played the trailer.

The whole point here is I don't want to put a .flv besides my .avi's, and also you don't have to go into the folder of the movie to watch the trailer.

Any ideas on how to do this?


Offline clubxxx

  • Occasional poster
  • *
    • Posts: 13
    • View Profile
I'm using the thunderchicken skin.
I was wandering if I could make the preview button on a folder containing a movie play the trailer I have downloaded from youtube?
My movies are in dir's like this: http://mysite.com/movies/%item-name%/moviefile.avi
I was thinking of making the previewbutton look for a .flv hosted somewhere else on my site (something like http://mysite.com/trailers/%item-name%.flv).
Would be cool if it then spawned the rawr player in the preview box and then played the trailer.

The whole point here is I don't want to put a .flv besides my .avi's, and also you don't have to go into the folder of the movie to watch the trailer.

Any ideas on how to do this?



Bronson (2009) HDRip

<!-- message -->
<div id="post_message_150795">

<div>

<div class="smallfont" style="margin-bottom: 2px;">
<b> </b>
<input value="the trailer" style="margin: 0px; padding: 0px; width: 160px; font-size: 15px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = '';this.innerText = ''; this.value = 'the trailer'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = 'none'; this.innerText = ''; this.value = 'the trailer'; }" type="button">

</div>
<div style="display: none;">

<center>
   <object type="application/x-shockwave-flash" data="rawr_player.swf" width="620" height="368">
      <param name="movie" value="mediaplayer.swf"/>
      <param name="allowscriptaccess" value="always"/>
      <param name="allowfullscreen" value="true"/>
      <param name="wmode" value="direct"/>
      <param name="flashvars" value="theme=tog&file=/Summer_Green/images4/Bronson.flv"/>
   </object>

</div></div></div>

<!-- / message -->

    <img src="/Summer_Green/images4/050.jpg" width="302" height="418"></a>
<br>
« Last Edit: May 07, 2010, 09:21:50 AM by Mars »


Offline draguls

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Works great, but how do you make it popup in a new window like in the normal template?


Offline DjNelutzu

  • Occasional poster
  • *
    • Posts: 24
    • View Profile