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.
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 want to dynamically change a flash movie in an html page. Following code is working fine in IE, but netscape 4 and 6 it is not working. Can any one rectify the error:
I have several movie clips and would wish to play them in sequence. There is possible to use the SetQTNEXTUrl property for the quicktime plugin, but it creates a black gap between the clips.
Is it possible to use to player objects and swap between them. So that I hide one player and reveal another when one clip stops?
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.
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 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?
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:
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.
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.
What I am finding out is that is opens a new window, which is great, but it loops - now I converted the video in Flash MX, but it doesn't allow me to change the loop properties of the flash video, only the HTML properties. Is there a quick fix for this using this javascript?
I have a query to do with windows media player. I am not sure whether what I want is done using JavaScript, but it is my best guess.
Basically, I was wondering how some websites have an advert clip or there logo appear before the actual video. The advert runs then it seems the player loads another movie.
I have a website that I just inserted a flash JS movie into... The site looks fine, and it even says that the movie is loading, but after that... NOTHING... I tried removing the <noscript> tags, but nothing seems to be working.
i have 4 movie clips. i am able to run the first clip with autostart a soon as the webpage opens. i am running the movie clips under window media player.
Question 1:i want to run all the movie clips continously one afte another.
Question 2: how to stop clip1 and run clip3(user selection). the movie should run under the same media player, on the same page.
I have a Javascript which I'm using to display one of four Flash SWF files randomly. These need to be actually displayed twice, so I'm basically calling the script twice.This works great aside from one thing- occasionally the same movie appears in both scripts, for example the first instance picks movie 3 of 4 and th second instance does the same.What I need is to somehow make sure that if the first instance of the script picks movie x then the second script will pick any movie EXCEPT movie x.
This is the script as it stands:
<script language="JavaScript"> // Generate a Random Number var randomnumber = Math.round(Math.random()*3);
I would like to know how do I reload a flash movie. But it is not simply rewind, it is to change the swf file and the browser refresh the movie and play it.
Here is the code that I am using to play the first flash movie code...
What I want is to change the "tvscreen.swf" to "newtvscreen.swf" and play it.
I managed to change the src in embed tag, but the flashmovie did not load.
pls how do I detect if .swf movie is playing or has stopped? .swf is in a pop-up, I would like to trigger a window.close() once Flash movie has stopped playing..
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
This is what I'm trying to do. I'm trying to load a flash movie transparently over my existing html page (not covering the full screen, but 75% of it), so it is kind of similar to a "splash screen" in the respect it is to be an introductory screen.
I already have a flash movie made (although for some reason WMODE=TRANSPARENT isn't working), but we'll get to that in a sec. I also already have all the html for the playing the movie and displaying my page. The html to display the page is made up of a bunch of table rows within a <DIV> tag.
During onLoad of the <body> element, I call a javascript method to actually play the flash. The flash does play, but what happens is that instead of playing on top of the existing page, it plays at the top of the page and if you scroll down, there is the rest of the html page (the tables and stuff). I dont want it at the top, but to actually overlay the tables until it finishes playing, then to go away automatically.
I'm struggling with the html part of this. I know browsers render from top to bottom, but I dont know how to display over the existing stuff.
I toyed with the idea of making the flash into a popup in a new window (window.open), but to make it look right, I'd have to make it a transparent window, borderless, etc... and I'm not sure thats the right way to do it either.