I have a webpage with thumbnail images that I want to be able to click on to play associated Quicktime movie files in either IE or Netscape. I'm having difficulty finding any HTML or Javascript code for doing this, and was wondering if this is not an easy thing to do. Is there
some special code needed for detecting Netscape Quicktime plugins, and what about IE?
User clicks on image map that displays DIV1 with player id="Player1". When user clicks on another part of the map, DIV2 appears with another video - but DIV1's player "Player1" keeps playing. How can I stop the event after going to another div? Lots of efforts "out there" but I've yet to find out just how to do it successfully.
I want to implement a little JavaScript that allows the picture to be swapped for a virtual tour, a QuickTime mov file. Here is the syntax for the test.mov file that should replace the test.gif
Now you probably say .... listen dude, check out the 101 postings on swapping images..... Well, just to make it a little more complicated, I want to add the HOTSPOT functionality. When you make the QuickTime movie (virtual tour - aka 360 view), you can identify hot spots. These are basically areas that the user can click on to get the next virtual tour / movie. Now, in test.mov, there is a hotspot66, when you click on it,you are supposed to link through to NewMovie.html (which would contain NewMovie.mov), but I want the same file to remain on the screen and NewMovie.mov to be placed into the image area.
Seems that we have moved (prematurely of course) to JavaScript 102....
1) in the object tag add the following parameter <PARAM NAME=wmode VALUE=transparent>
2) in the embed tag add the following attribute <EMBED src="jet.swf" wmode=transparent ....
3) add the same name-value pair to the following script <script type="text/javascript"> AC_FL_RunContent 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' ,'wmode','transparent',...rest of your name-value pairs go here ); //end AC code </script>
I have this script:URL...that takes latest movies from youtube channel.When you click on the movies below it should load the movie to the playerit works well on Firefox but not on IE or Google Chrome
I've run into a problem on a particular project, and it seems to be browser specific. [code]...
Now, this works all fine and dandy in Firefox and Safari, but in the IE's, it will switch properly, but if you switch while in the middle of a movie playing and then switch back to it, the video is paused at the spot where the switch happened and will not play again. That does not happen in Firefox or Safari. Your thoughts? Is this just a cache thing with IE that can't be worked around?
I created the simplest embed QT movie page, and for starters, want to get the version. An HREF event works fine, but otherwise I get a fabulous "Unspecified error". I'm using MSIE6 WinXP SP2.
there is some kind of flash rotator on the home page. This is my code attempt to move between preloaded swf animations using javascript. I've tried giving id of the object or embed but this won't help. Of course this is not that simple and the code isn't working. My intent is to have animation change when clicking the next button.
<html> <head> <script type="text/javascript"> var flashNumber = 0; var items = 3; [Code]....
is it possible to hide qtvr <object...> (or even change its size to 1 pixel rectangle)? I need to hide qtvr from the page dynamically, if .mov source is empty.
I do a lot of php and need now a bit of javascript to control a narration on a website which is run as an mp3 thru the quicktime plug-in. The plug-in is working fine and I've written javascript to pause and play the narration through the pages own button.
The next task was to get it to move to the next slide after the narration has finished, so I decided to do a javascript re-direct after the time returned by the int GetDuration() command which the apple site says returns the length of the movie. Code:
I'm trying to use the QT_WriteOBJECT function script as recommended by Apple, but I'm having no luck in getting my .mov file to show up. My popup html file appears, but with no movie. Here is the Apple site where I've found the technique:
Purpose: To create a page that plays different movies depending on which link the user clicks on. Only one player is displayed to play all the movies. Right now the links are text for my convenience but eventually they'll be images.
Problem: I can't get the player to change to the second movie. I'm doing this in JavaScript. Here I'm showing it to you as inline script, but it doesn't work as a function call either.
Question: How do I get this page to change the movie in the player based on the user's click?
I've tried this 2 different ways: creating the playing with manual code and creating it with an Apple-supplied function call.
When I create the player using the Apple supplied function, I get no error message and it also doesn't change the movie. The existing movie just keeps playing. I created a bunch of other links to do things like stop the movie, start the movie, rewind the movie, and retrieve the movie URL, and these work in IE for the manual coding but not for the Apple supplied function call. I also tested both versions on the other 4 major browsers. None of them change the movie either, but for the Apple supplied function they will all start the movie, stop the movie and rewind the movie from JavaScript. I can give you that information as well.
I'm running my web page on IE8+9 with Windows Home via Boot Camp.
My JS code is:
if (QuicktimeIsPresent) { var song = PlaySong('200', '50', '#9cceff', 'false', 'false', 'tunes/taps.mov') document.write (song) }
The JS code for PlaySong is:
function PlaySong(width, height, bgcolor, autostart, loop, songloc) { var play = ''
[code]....
For IE8+9, the quicktime crescendo/midi control shows .. but when I click the play button on it, it almost immediately stops.Other Windows browsers(Firefox and Safari and IE 7) play just fine, together with all Macintosh browsers.
but IE said that "document.embeds.mov.src is not object", and image isn't changed ( IE,Mozilla) when user click on the link "exchange". What is wrong, how to do this correctly?
I'm looking for a jquery plugin (or vanilla method) for detecting quicktime, so I can decide whether to embed a QT movie or not. Did some googling, but most of the methods seems really old and I didn't see any jQuery plugins dedicated to detection.
I'm attempting to dynamically create a QuickTime embedded movie. I'm including the AC_Quicktime.js script which contains methods for creating the embedded movie easily and putting it into an existing DIV. This is working correctly, however the movie will not load. Here's the code that I'm using.
Code:
function loadMovie() { var objectTxt = QT_GenerateOBJECTText_XHTML('poster.jpg', '100%', '100%','','controller','true','autoplay','true','showlogo','true','moviename','stream', 'obj#ID', 'stream', 'cache','false','href','rtsp://192.168.20.105:554
My code tests for existence of Quicktime plugin.If the plugin is installed. A sample .mov should play but does not.The <h2> header does appear on screen, nothing else, no errors.
my website [URL] has been left unfinished by my friend and it doesnt look like he can finish it now. I have some understanding of code and have manually edited the existing pages in notepad to fix some issues. The one issue I have left is on the javascript samples player which overlays the main screen. I have all of the files (an flv and swf plus a folder full of js and a vbs file). As you will see, the morning chapter does not play but all of the others do. I have checked the flv in a player and it works fine, and it was created in the same way as the others. All flv and swf files are uploaded correctly I just can't work out why it is not working.
Is there any universal way (for all browsers) of using JavaScript to play some sound when you mouse over some link? If yes can somebody link me to this code or at least write me how one would do this?
How can I play a sound when I click an image, without the information bar popping up at top? I've looked all over, and I've tried a few javascript-only methods but none have worked for me.. Is flash the only way to go?
I am creating a web interface where a user can click on a series of pictures and then click a 'play' button to play the sound (wav) files which are behind each picture in sequence.
So I have an onclick event attached to each image which loads the name of the wav file into an array. The play button loops through these sounds and plays them one at a time....or so it is meant to!
I have found that all the sounds play one on top of the other and I have been searching for hours to find a way to make them play one after the other.
I don't want to use a flash interface as I can't convert them all to flash. Does anyone know of a way to do this using javascript? I would be very very grateful if so.
I am developing a web application where each page shows a series of small jpg images each with an onClick event which plays a small mp3 file using javascript.
It all works perfectly but is a bit slow to load, so the customer wondered if we might develop a local version which, although the page was accessed via the web, the images and mp3s were installed on a users local pc (will be machine specific application anyway).
I have managed to do this for the images by using:
i am in my efforts to perform a coding for a chess game between two persons who play with each other from different computer systems through internet. i want to know about how i can code in such a manner that when player 1 makes some move, player 2's chess board in his respective screen shows him the move of player 1 and vice versa. this has to happen without reloading the page.