rejetto forum
February 12, 2012, 03:10:46 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Adding .flv to the preview button on folders  (Read 1033 times)
0 Members and 1 Guest are viewing this topic.
draguls
Occasional poster
*
Offline Offline

Denmark Denmark

Posts: 3


View Profile
« on: May 06, 2010, 02:15:21 PM »

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?
Logged
clubxxx
Occasional poster
*
Offline Offline

Belarus Belarus

Posts: 13


View Profile Email
« Reply #1 on: May 06, 2010, 07:25:48 PM »

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, 04:21:50 AM by Mars » Logged
draguls
Occasional poster
*
Offline Offline

Denmark Denmark

Posts: 3


View Profile
« Reply #2 on: May 07, 2010, 01:45:21 AM »

Works great, but how do you make it popup in a new window like in the normal template?
Logged
DjNelutzu
Regular poster
**
Offline Offline

Romania Romania

Posts: 24


View Profile Email
« Reply #3 on: August 06, 2010, 02:13:54 AM »

Acest Cod Merge si pentru terayon 1.3.3 Huh?? Embarrassed
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page February 07, 2012, 12:54:11 AM
anything