Play() works in FF not in IE

Hello i'm trying to play just the first few seconds on a quicktime movie then stop. if the user scrolls, I replay. By design, once the user clicks 'Play' I want the movie to disregard the scroll (and other) functions. This seems to work in FF, but not in IE, where the movie will not even play initially. I'm getting a 'document.movie1 undefined error'. Any help is much appreciated. Here is the code....
<script src="include/javascript/AC_QuickTime.js" language="javascript" type="text/javascript">
</script>
<script type="text/javascript" src="include/javascript/mootools-1.2.5-core-nc.js"></script>
<script type="text/javascript" src="include/javascript/Quickie.js"></script>
<!--[if IE]>
<object id="qteventsource" classid="clsid:CB927D12-4FF7-4a9e-A169-56E4B8A75598" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=7,2,1,0" height="376" width="400">
<param name="scale" value="tofit" />
</object>
<![endif]-->
<script type="text/javascript">
function BeginPlayback() {
if (document.movie1 !== null) {
document.movie1.Play();
document.movie1.SetTime(600);
var t = setTimeout("RewindPlayback()", 1000);
function RewindPlayback() {
if (document.movie1 !== null) {
document.movie1.Stop();
function QTSetup() {
var t = setTimeout("BeginPlayback()",1000);
function startUp() {
var myQuickie = new Quickie('http://malsup.github.com/video/simpsons.mov', {
id: 'movie1',
width: 400,
height: 376,
container: 'qtmovie',
attributes: {
controller: 'true',
autoplay: 'true',
scale: 'tofit'
onCanplay: function() { },
onLoad: function() { QTSetup(); },
onPlay: function() {
if (document.getElementById("hfPlayed").value == "No" && document.getElementById("hfFromScroll").value == "No") {
document.getElementById("hfPlayed").value = "Yes";
onPause: function() { document.getElementById("hfFromScroll").value = "No"; }
window.onscroll = function() {
if (document.getElementById("hfPlayed").value == "No") {
document.getElementById("hfFromScroll").value = "Yes";
BeginPlayback();
window.onresize = function() {
if (document.getElementById("hfPlayed").value == "No") {
document.getElementById("hfFromScroll").value = "Yes";
BeginPlayback();
function onBlur() {
if (document.getElementById("hfPlayed").value == "No") {
document.getElementById("hfFromScroll").value = "Yes";
BeginPlayback();
function onFocus() {
if (document.getElementById("hfPlayed").value == "No") {
document.getElementById("hfFromScroll").value = "Yes";
BeginPlayback();
if (/@cc_on!@/false) { // check for Internet Explorer
document.onfocusin = onFocus;
document.onfocusout = onBlur;
} else {
window.onfocus = onFocus;
window.onblur = onBlur;
</script>
<form id="form1" runat="server">
<input id="hfPlayed" type="hidden" value="No" />
<input id="hfFromScroll" type="hidden" value="Yes" />
</form>

Make sure that you do not use bgsound to pay that music.
See http://kb.mozillazine.org/Background_music_does_not_play

Similar Messages

  • Why do my speakers not play music? I know they work because when I go I change my ringtone all the sounds play. I am not a very happy costumer right now and would like an answer to my problem. Thanks.

    Why do my speakers not play music? I know they work because when I go I change my ringtone all the sounds play. I am not a very happy costumer right now and would like an answer to my problem. Thanks.

    What happens when you play music? Do the hardware volume controls work when using the Music app?

  • Sym.play("loop"); This is not working

    Please'm having problems with the LOOP. 've Followed several tutorials but the file does not end LOOP function. You guys could send me a link where I can get a solution to this problem?
    // play the timeline from the given position (ms or label)
    sym.play("loop"); This is not working (sorry for the english: Translate)

    sym.play("loop"); will move the root timeline playhead to the "loop" label, and play from that "loop" label.
    If you want to loop a section, for example, you could put a label called "loop" at 1 second, and then at 3 seconds, add a timeline trigger that has the code sym.play("loop");

  • Assigned F key to play an action does not work. Why? Using cs6  iMac and wireless key board

    Assigned F key to play an action does not work to play the action on an image. When the F key is selected it seams to control computer attributes rather than the play action assigned in photoshop. Why? Using cs6  iMac and wireless key board.
    Is this a possible preference setting in mac or is it a setting in cs6 photoshop ? Help and knowledge will be appreciated.

    *** Moderator Action ***
    This networking question has been moved from the Solaris 10 discussion space,
    to the Solaris Networking discussion space, for closer topic alignment.
    Whereas there may be IPV6 nuances specific to your Solaris 10 environment and to the hardware, this appears to be a discussion that may be more global in effect.

  • How can I move movies from my computer to my iPad? They will play in quicktime but not iTunes

    How can I move movies from my computer to my iPad? They will play with quicktime but not iTunes so I can't sync them

    Th AVPlayerHD works well for playing other video types.  You can transfer the videos via USB in the app tab in iTunes on your computer.  When you open that tab when you have you iPad connected to the computer scroll down and you will see apps listed on the left and a blank on the right.  Click on the app and then click on the add button under the blank window on the right.  Then navigate to the video you want to play and it will transfer it to the iPad.  I have about 14 movies on mine using AVPlayerHD.  works very well.  Also have VLC player (before it was yanked from the app store).  Works about the same.
    You can also get the app Air Video and stream the video to from your computer to the iPad, and even have Theo ad connected to the tv to watch on there.  I do that all the time with my iPhone.  Saves time with not having to sync movies all the time.

  • Home sharing working fine - but not for paid itunes content on some devices

    My setup is a simple apple home sharing network.
    I have a mac mini running OS X 10.6.8 and itunes 11.0.3(42) it hosts a lot of music, DVD's that have been re-encoded and paid for content from itunes.
    The mac mini is conntected to the network over a very good gigbit lan and has 4 apple TV3 (latest gen) hanging off the network, and multiple PC/Mac/ipod/ipad devices hanging off the network.
    All these devices connect using home sharing and work very well (I can use all 4 apple TV devices at once streaming 1080p media with no lag / delay problems)
    There is one exception to this, my PC and Mac.
    I have a Macbook pro running OX 10.6.8 and itunes 11.0.3(42) and a PC running Windows 7 64bit with Itunes 11.0.3(42). Both are also connected via gigabit lan, both run of SSD's so have excellent local disk performance, both have over 6 GB of ram at least.
    If I open itunes and connect to the itunes home media server and play music, tv shows films all is well, ranging anything from a DVD rip to a HD bluray rip. as soon as I try to play a HD movie or TV show downloaded from itunes there is a problem. I get approx 30 seconds into the content and then it just stops as if I'd hit pause and never actually starts playing.
    At first I thought this was buffering problems/flooding on my lan, so I isolated this, even though my network monitor shows lots of capacity on the lan, I removed all devices apart from the mac mini serving the home media and either the PC or the Mac, I hit the same problem.
    To diagnose this further I opened a network monitor application on the PC, the playback mac and the media server mac mini and tried to open a file in itunes.
    on the client and the server the network spikes straight away, and uses 100 network for around 5 seconds (if I do this with other devices such as apple TV's plugged into the network too the overall usage is lower, it basically uses as much as is availble, so %100 utilization isn't a problem) and then the network traffic just stops on both devices. The same is true of the disk activity, I see a raise is disk I/O on the home media mac mini for 4 - 5 seconds and then a lesser spike on the local playback machine both stop after 4 - 5 seconds in sync with the network stopping.
    Both machines remain on the network fine, but the transmission of the media between itunes server and client just stops. I then open another file, a bluray rip, some music etc, and it plays works fine, return back to the paid for itunes content, it fails at exactly the same spot.
    This happens on any itunes paid for HD movie or TV shows, so it's not just one file, it's approx any of the 200 itunes downloaded HD files I have on this machine.
    I can play the files fine with apple TV's, I've tried watching 4 different apple downloaded itunes HD films at once on 4 apple TV's it works fine, it's only if I open the file via itunes with the PC or Mac.
    All are linked with the same home sharing account so it's not / shouldn't be a DRM style issue.
    Why is this happening on the more powerful PC/Mac computers, but not on the lesser apple TV, ipad, iphone devices ?

    going to try to bump this to get some traction / suggestions on it

  • After using video capture device to copy VHS to DVD, burnt DVD will play on computer but not

    After using video capture device to copy VHS to DVD, burnt DVD will play on computer but not on DVD player. Tech support for the VCD said my HP DVD burning software has to burn "DVD Video and not DVD data" and to check with HP. How can i check myself.

    Grahamster, welcome to the forum.
    I recommend trying CDBurnerXP for burning video CD's.  I have been using it for years without a glitch.  I use it mainly for burning ISO's, but have used it for all types.  Please let us know if it works or not.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Installed Itunes: New PC, Windows 7 x64, updated ipod software, click to eject ipod, PC goes to blue screen, dumps data, restarts; songs do not play correctly on ipod. IE: play a song - only first few seconds will play. Some songs play fully, some do not.

    Installed Itunes: New PC, Windows 7 x64, updated ipod software, click to eject ipod, PC goes to blue screen, dumps data, restarts; songs do not
    play correctly on ipod. IE: play a song - only first few seconds will play. Some songs play fully, some do not.

    Hi just wanted to let you know I solved most of my XP problems with my new IPOD. It won't recognise the IPOD or driver and froze and locked up and then the battery died. After hours of trying different things here is what I did. I completly closed computer down. Waited 15 minutes turned on and reloaded everything. I put the usb cable in but not hooked up to IPOD. I turned off Mcaffee (all of it). After my computer came on. I then went and closed everything I didn't need in the bottom toolbar. (taskbar). I then reloaded the software and waited. Took forever to reload and I don't know why but whatever it worked but I DID NOT HOOK UP THE IPOD LIKE IT SAID! I instead shut down the computer after loading the software and waited 5 minutes and turned it back on. I again waited and shut of mcaffee. It loaded everything fine this time and said new hard ware and drivers detected. I plugged my IPOD in and YES I WAS UP AND RUNNING (THIS IS AFTER 6 HOURS OF PLAYING WITH OTHER THINGS!) I am able to load and play, burn, watch movies, see pictures and everything your suppose too! The only thing I see different than the instructions is I left my usb cable plugged in and when it said to eject the disk I didn't. I also didn't plug in the IPOD (5th Gen) and then I shut down waited and then restarted the computer. I hope this helps others because I know the feeling of wanting to return something you paid dearly for and worked hard at saving money to buy one and it doesn't work. My only thing I dislike about apple is they didn't supply a ac adapter for the IPOD and the instructions say to plug it up when trying to charge battery. DUHHHHHH, ya can't do that if ya don't have one and stores are closed and won' open until Monday! But at least I am up and running. I just hate having to plug up IPOD to computer daily to charge the battery which only last a half a day1

  • TS3274 music won't play, play button on music not running

    music won't play, play button on music not running, closed all programs and restatred twice, still won't play

    Here is the list of supported codac formats supported by Android and like I thought, WMA isnt listed as a supported format unless a 3rd party app was installed that WMA worked with but the native OS does not have support for the file you are tring to play...
    Check out formats at http://developer.android.com/guide/appendix/media-formats.html
    Update:  Looks like I missed something because I found a post that reports they will work but Android site says they wont so I guess its one of those situations if they work that fine but if they dont, dont be suprised.  All I can say is it would be simple enough to convert the files to MP3 and remove this restriction.
    http://androidcommunity.com/forums/f41/wma-format-3359/

  • Firefox shut down & updated in the middle of my work; I could not restore my session; you have literally cost me my job and future.

    Firefox shut down & updated in the middle of my work; I could not restore my session; you have literally cost me my job and future if this cannot be fixed. I don't understand why it updated without me prompting it to. It also never ask to report a crash.
    I went to play a youtube video, my entire screen flashed, when the screen came back, the youtube video screen was green. I refreshed the page and my system stopped- a blue screen appeared and something about verifying disk or something. My system the restarted, and when I opened firefox, it first said preparing updates and when it did finally open, the new updated version, of course, I could not restore my previous session.

    You can check in the Firefox profile folder to see if there are numbered sessionstore-##.js present.<br />
    The sessionstore.bak file could also have a previous session.
    *http://kb.mozillazine.org/Session_Restore
    You can also try to restore a previous copy of the sessionstore.js file if there is one present that could contain that lost session.
    *Right-click: Properties > Previous Versions
    *http://windows.microsoft.com/en-US/windows7/Previous-versions-of-files-frequently-asked-questions
    Be sure to make a backup copy of all sessionstore files before making changes.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • My ipad2 media volume not working, volume bar not showing

    My ipad2 media volume not working, volume bar not showing

    here are my similar symptons:
    in Settings the volume slider bar when moved plays a sound out of the speaker
    when you double press home button, and slide over to the brightness and volume slider bars, the volume slider is completely gone.
    when you plug in headphones it works fine, volume rocker controls volume perfectly.
    when you press volume rocker without headphones, nothing happens, or a blank "sound effects" icon displays.
    I sent my Ipad2 to Apple for this under warranty.  They said there are some small scratches on the side of it. 
    It lives in a heavy duty case, but the exposed area has been knicked some how.    The little divots in the metal on the side mean that "impact" must have broken it. 
    Forget the fact that it spontaneously started happening and that the speakers and headphones both work at various times, and the volume rocker works, but iOS 5.1.1 apps can't send sound out the speaker, but the volume settings in the sound do send out sound..
    so they refused to look at it or repair it under the warranty.   I was a day away from buying yet another apply device in our family that already has a couple iPod Touches and 2 iPads.  I think I'll buy a droid now.

  • Some DVDs will play while others will not - told it's an HP brand problem

    A new movie I bought refuses to play on my laptop, not matter which media player I choose. The computer recognizes that there is a disk inserted (though it doesn't recognize what movie it is), but when I try to play the disk the player will freeze.
    I've been told that this is simply an HP brand problem with no viable solution, but I was hoping to learn more about it here.
    The new DVD I bought is the correct region and my disk drive is not dirty or faulty as it will play other DVDs and CDs just fine. This new DVD works with my other DVD player and works perfectly in my roommate's Toshiba laptop.
    Is there some sort of downloadable solution?

    Lawcere,
    Go to HP.com and update the dvd drive and the BIOS.
    Here is a link to the update. You’ll need to select your country and have your product number.
    You might also clear the upper and lower registry values.
    As you play DVDs files will be stored in these folders that can sometimes cause problems.
    Here is a link that will walk you through the steps.
    Clicking the White Kudos star on the left is a way to say Thanks!
    Let me know how everything goes.
    Have a good day.

  • Help! buttons not working, scroll is not working, and I can't reset my iPod

    I hope someone can help me.
    The play/pause button is not working and on the odd occasion it does - it actually scrolls through the songs backwards.
    The backward/forward buttons don't work either.. and when they do.. it's usually on go to backwards.
    The Menu button works - fat lot that's helping me.
    I can't reset my iPod either and I've tried the 5 steps in reset.
    Sometimes I can scroll forwards if I press the select and forward button together. Click Wheel is also not working 99% of the time.. the odd time it did work.. it was really choppy.
    Needless to say, I can't turn off my iPod since 99% of the time, it does not recognize the play/pause button.
    Please help!!!

    Hi mapletree1,
    You can check out the listing of Apple Stores in Canada on this page:
    Apple Store - Canada
    -Kylene

  • I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    I've tried everything I can think of to get my Iphone 4S to play albums like an Ipod does.  All it ever does is play the songs but not the albums in alphabetical order.  I used to think I was reasonably intelligent until I butted heads with this phone.

    Yes i've tried all of that. I've turned it all the way on and off and erased all of my music and put it back on and nothing works. And with the breaking up CDs and putting into compilation categories i have already fixed all of that stuff. It's fine it just doesn't show up in the list of artists. I can find the album in the songs category and the albums category it's just it doesn't show tha name of the artist. All of the other albums that i downloaded before i updated my itunes to th most recent update are fine. It's just the two that i downloaded afterwards. Thanks for trying though.

  • I upgraded my iphone 4 OS yesterday to ios 5, today morning my phone is not working, i am not able to click any button and also its not allowing me to switch off the phone and restart. Anyone having similar issues

    i upgraded my iphone 4 OS yesterday to ios 5, today morning my phone is not working, i am not able to click any button and also its not allowing me to switch off the phone and restart. Anyone having similar issues?

    From my post on what seems like the same issue (found here: https://discussions.apple.com/message/21087892#21087892)
    Take the following steps:
    1) while connected to wifi, toggle off then back on the Show All Music and iTunes Match options shown in my original post. Important: I did this step before, but wasn't connected to wifi, and my music disappeared. Subsequently, I connected to wifi and turned off and then back on those options and everything came back though it was grayed out and my only option was to download music.
    2) To get streaming over cellular back, go into Settings>General>Cellular and scroll down to the "Use Cellular Data for:" options and make sure the iTunes option is set to 'On'
    The above steps will bring back the streaming capability which seemed to go away when you update to 6.1. It didn't ACTUALLY go away, but something about the update toggled off the iTunes option in step 2 above.
    I did a final test by turning off wifi, opening Music app and selecting a song. It played successfully without downloading! Crossing my fingers, but I think I'm good to go!
    Hope this helps!

Maybe you are looking for

  • Regarding MM(Material Management) logistics

    Hello,          Presently I am working in SAP MM module. We are completing the orders to create material(mm01) and maintain the prices for sales and purchase.          I just wanna know how to gain more knowledge about this MM module.          Pls su

  • Cheque Writer (Generic) Error: HR_6882_HRPROC_ASSERT LOCATION pyjavaco:1

    hey hope all is fine with you all gurus i am getting the following error when i run the post payroll process called "Cheque Writer (Generic)" process it ends with RED color: HR_6882_HRPROC_ASSERT LOCATION pyjavaco:1 APP-PAY-06882: Assertion failure d

  • Help in writing scripts for monitoring

    Hi All, I am in the position to write scripts for monitoring JVM and JDBC. I know the concept of confiuration MBean and run Time MBean.I planned to use WLShell scripting.In my organization using WLShell is not preferred by anyone. I dont have any fur

  • V.V.Urgent( Soap- XI- RFC) and Viceversa

    Hi, I am Integrating Webservice with SAP. I am Using soap and RFC adapters for this ..... I want the Information from Creating SLD... How to create logical system for SOAP... and also for RFC   (  Both Sender and Receiver adapters) Points will be awa

  • 64 bits code with Pro*C

    I need to generate 64 bits code with my Pro*C programs. Some documents reference a makefile called demo_proc64.mk, where can i found it? How can i use de lib64 library's if i dont have that makefile? Thanks.