SloStenRacing Posted November 14, 2005 Share Posted November 14, 2005 But I am looking to see if it would be possible to code a rotator in HTML to rotate videos? or do rotators only work for images? Link to comment Share on other sites More sharing options...
Bond996 Posted November 15, 2005 Share Posted November 15, 2005 Yes, should be in WD&P. Anyways, it is definetly not possible through HTML. HTML is a static language to display things. However, using PHP, ASP, some form of AJAX, it is possible. There was an image-rotating tutorial floating around on WD&P at some point, and quote or image rotating tutorials are easily found on google. Link to comment Share on other sites More sharing options...
Wolf68k Posted November 15, 2005 Share Posted November 15, 2005 rotator? Like to randomly show an image/video? Or to rotate it like change it from to 90-dergress clockwise? Link to comment Share on other sites More sharing options...
Edwards Posted November 15, 2005 Share Posted November 15, 2005 <3 include(~edwards/genericmovingsong.txt); E> sysnode.org Link to comment Share on other sites More sharing options...
Dalpura Posted November 15, 2005 Share Posted November 15, 2005 AzUpload has an easy to use image rotator. Just copy&paste the URL given after you've configured the rotator, and you're away. @ Bond - Looks like it's archived, I remember the one but just can't find it at all. Link to comment Share on other sites More sharing options...
Opius Posted November 15, 2005 Share Posted November 15, 2005 Just have a dynamic PHP script to spit out the path to the video inside an object tab. <?php$videos = array('video1.avi','video2.avi','someothervideo.avi','riseofcommunism.avi');echo '<object src="'.$videos[rand(0,count($videos)-1)].'" />';?> Link to comment Share on other sites More sharing options...
Sam3773 Posted November 30, 2005 Share Posted November 30, 2005 In addition, HTML is a non-dynamic mark-up language, anyone who calls it programming will end up with my left foot firmly up their arse. Incase you don't know, that PHP script posted above is embedded into HTML (So just put that code in your website). Then that has to be saved as .php, then uploaded to a server that can run php, most free ones can't. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now