Video issue: Can't get controls to false or sound to mute

I doing an HTML5 video embed from a streaming video hosting service that I've done a number of times. In this case, it's going to be background video inside of a div called vidCon. I want it when the video plays for both the controls not to appear nor any sound playing. I used the following code on the timeline to fire the video, but the audio does play and the controls do appear. Why is that?
sym.$("vidCon").empty();
var vid = $("<video width='1280' height=720' controls='false'>" +
   "<source src='https://yoursite.com/video.mp4' />" +
   "<source src='https://yoursite.com/video.webm' />" +
   "This browser is not compatible with HTML 5" +
"</video>");
// stage symbol lookup, and append the above vid object to it;
// in other words, get the div called 'vcontainer' and attach the video control to it;
sym.$("vidCon").append(vid);
// additional options for the video object
vid.attr('autoplay','autoplay');
vid.attr('preload','auto');
vid.attr('muted','true');

Well, that surprises me.
Okay...so since the controls are gone and you've handled autoplay, here's what I'd try next (btw, like the above, I didn't test it, but I think this will work):
vid.attr('defaultMuted','true');
Let me know whether it does or not.
btw, without controls, you'll probably want to provide an alternate way for the user to hear the audio (unless you never want them to hear it).

Similar Messages

  • Using the camera on my iPad 2, I can record videos, but can't get them to play back.  I'd appreciate your  help with this!

    Using the camera on my iPad 2, I can record videos, but can't get them to play back.  Can you help me with this?     Thank you!

    Previous version was a touch to change, this one is a slide to change.  

  • HT4236 I lost my iPod touch 32 GB a month ago, and today I got a new iPod touch 64 GB. While syncing it with itunes, I got my music library, books and purchased items back, but I didn't get my photos and videos.How can I get my old photos back in my new i

    I lost my iPod touch 32 GB a month ago, and today I got a new iPod touch 64 GB. While syncing it with itunes, I got my music library, books and purchased items back, but I didn't get my photos and videos.How can I get my old photos back in my new iPod?

    Correct. When you update via iTunes all synced media that is not in your iTunes library will be lost.
    As IO said before:
    You can redownload most iTunes pruchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    I do not think it included audio books.

  • What app can I get to to turn a sound clip of my grand-nephew into a ringtone?

    What app can I get to to turn a sound clip of my grand-nephew into a ringtone?

    QuickTime, GarageBand, iTunes, Audacity, and VLC can all do this. Actually, iMovie and FinalCut can too...
    Open your audio clip in the desired program and trim id down to the segment you want to use as a ringtone (iTunes can do the conversion, but it can't modify/trim the audio).
    Once you have the piece of the audio you want to use, save the audio file as MPEG4 audio (AAC) and use the file suffix ".m4r" instead of ".m4a" or ".mov".
    Drag the m4r file onto the iTunes icon in the dock or Applications folder and it will be added to iTunes as a ringtone (which you can add to your phone).
    If you use iTunes to convert the audio to AAC format, drag the sound out of iTunes and replace the file name suffix (.m4a) with ".m4r" and drag it back in.
    That's it.

  • My iPad was hacked through Words With Friends. Suddenly the tiles change and the points quadruple and I can't get control of the game.  I deleted the app, but how can I make sure the virus hacker is gone?

    iPad hacked from Words With Friends. Game suddenly appears in control.  Not responsive. Suddenly my tiles change, then the points quadruple. I deleted the app, but would really like to continue playing with my family.  How can I get rid of this hacker and or virus on my iPad?

    Since it has happened previously, it is likely someone you know or who has access to your systems, or has access to recovery information with that game vendor. I seem to recall that vendor being called out for account security issues in the past, but can't say for sure.On the other hand, the symptoms you describe do not necessarily mean you have been "hacked", could be just that something is amiss with the app.
    You may wish to reach to the app vendor and see what sort of support it offers.

  • Performanse Issue - can I get queries generated by JDO compiled?

    Hi,
    I have noticed that there is a huge improvemnt in performance when using
    compiled queries. However, when I navigate relationships, JDO generates
    the query internally and I would like to instruct JDO to compile these
    queries as well.
    If I replace the relationship type with a long to obtain a key from the
    database and then read the related record in a compiled query using this
    key, I have seen performance increase 10 times in batch runs.
    I would appreciate your advise on this as the current performance we
    have achieved with Kodo JDO is not acceptable for our application, but I
    believe it would be if these queries were issued with PreparedStatements
    as well.
    Lars

    Lars --
    Unfortunately there's not a lot you can do to control this behavior right now. However, we're working on a system in which we use a transparent PreparedStatement cache for all our database interactions. It should be ready in a few weeks. We hope you can wait that long, because we have some great things in store for Kodo users.

  • What kind of video intro can I get away with?

    I would like to have a video of about the size and quality of this apple Final Cut Studio NAB video.
    http://www.apple.com/finalcutstudio/action/?movie=nab
    Only not nearly as long. Well under a minute for sure! Can I get away with this in iweb with autoload setup for the initial splash screen of my website. I'll be using a .mac account.
    Is there a way to make it have some type of loading indicator and a skip past intro thing? Will it take 3 days to load? Advise? Thanks!

    Hello John,
    The biggest factor on whether people will watch your movie intro is dependent on their connection speed. If all your viewers have cable/dsl then it probably isn't a problem, if you are getting lots of low speed visitors then they won't take the time to let it load—probably.
    If you don't already have Statcounter ( http://www.statcounter.com/ ) and or Goggle Analytics ( http://www.google.com/analytics/ ) you should get both. This will allow you to monitor your visitor demographic, giving you the ability to design your site to the needs of the majority.... plus it is fun to see hits come in from across the country and around the world.
    Any how, I degress. Even if all your users have fast connection speeds you will probably have better luck with a flash movie which yields a higher quality to lower size ratio then the Quicktime format. Plus, more people have flash installed on their computers then Quicktime. If you don't have a flash converter you can get a resonably priced conveter at http://www.verticalmoon.com/products/video2swf/video2swf.htm
    The only problem with using flash (I currently still use Quicktime) is that you will have to add your movies in post publish. Hope that helps.
    Kind Regards,
    —Eric
    Ash Films
    http://web.mac.com/ekashley
    G4   Mac OS X (10.4.9)  

  • Can't get the setResizeable(false) to work for JFrame

    I can't get setResizeable to work with JFrame. I decided to pair down my code to the bare basics for creating a frame. If I comment out the setResizeable command, it compiles fine. If I don't, I get this error:
       SimpleFrame.java:20: cannot find symbol
       symbol  :method setResizeable(boolean)
       location: class SimpleFrame
                 f.setResizeable(false);  // This errors out
                  ^
    The code follows:
    import javax.swing.*;
    public class SimpleFrame extends JFrame
       public SimpleFrame(String title)
          super(title);
          // More logic will follow here but is unrelated to the problem.
       public static void main(String [] args)
          SimpleFrame f = new SimpleFrame("Test");
           f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           f.setSize(400,400);
           f.setVisible(true);
           f.setResizeable(false);  // this errors out
    }Any assistance in this will be greatly appreciated.

    f.setResizeable(false);//<-----delete the 3rd e
    f.setResizable(false);

  • How can I get true 5.1 surround sound from my iMac?

    I am looking to buy a logitech z506 5.1 speaker system but it only take 6 channel input, I know my iMac doesnt support that out of the box. I am looking for a solution that I can do to so I can get true 5.1 surround sound. Please help
    Thanks,
    Amar

    You really need to specify exactly what imac you have.  Current ones I believe have an optical (out) and in and I think that can be combined with usb to produce multi-channel sound.  But it's just an academic exercise if you don't have the optical.
    Also, google "5.1 audio on imac" for lots of hits on this topic.

  • PlayBook Contact & Calendar Sync/Video Chat - can't get them to work

    I love my PlayBook ((OS 2.1.0.1088) and as a BB9790 user had never bothered to try to use native contacts/calendar applications until recently when a couple of relatives bought PBs and asked me questions. I have a number of GMail accounts which work brilliantly for mail receiving and sending on the PB, but have failed totally to get contacts and calendar to sync despite selecting that option for one of these. In desparation created a new Hotmail account, imported some key Outlook contacts and tried to sync them with my PB. Nothing. If I try to create a new contact I always get the message after tapping to enter the contact information: "Application was interrupted. Please close and open it again to continue." If I do that and restart contacts, nothing changes. I tried deleting all my email accounts and starting again with a GMail as the primary email with sync for contacts and calendar, but the problem persists. This also impacts Video Chat as it uses the same contact application so is unusable. If I search Contacts it appears to do a remote lookup but never finds any contacts.
    The Calendar application when opened just shows the Calendar app icon in the top left corner with 31 and no calendar. Swiping down to show the settings, indicates 3 GMail calendars from different accounts are in place and if I press refresh it suggests a sync is taking place but no calendar framework ever appears, let alone entries.
    Would appreciate any suggestions as I have read all the related PB contacts' forums which haven't offered a solution to this particular issue. Thanks

    Hey Canadauk,
    Please contact the BlackBerry® PlayBook support team regarding this issue for further investigation, contact information can be found here:
    http://us.blackberry.com/legal/blackberry-playbook-complimentary-support-plan-terms-and-conditions.h...
    Thanks.
    -HB
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Power Management Issue - Can't get my iMac to stay off!

    I've recently been having issues with my screensaver freezing, or it doesn't come on when it should, or it comes on and then turns off (back to the desktop), and/or my display sleep never kicks in or stays kicked in. The other night, I couldn't get the stupid screensaver to engage when moving the mouse pointer to the hotcorner. So, I ended up shutting down the iMac.
    Well, I crawl back in bed and about 2min later the iMac is powering back on! I shut it down again, and once more in a few minutes it's powering back on. This has happened before a few times. The only way to keep it off is to pull the plug.
    Am I missing a setting? Is there some plist, in addition to the screensaver plist, that needs to be tossed in the trash??
    Thanks

    Unplug them and see if it helps. If it doesn't you can always plug them back in. If it does help then try them one by one until you find the problem.
    I'd also post this question in the iMac hardware forum. There's various basic hardware features you can reset at bootup time. On old Macs like mine it is the PRAM but the name and features have changed with time. It may be something like that on your computer since I know on some models this also controls sleep functions. I'm sure somebody on the iMac hardware forum could tell you very quickly what it is on your computer.
    [Resetting your Mac's PRAM and NVRAM|http://support.apple.com/kb/HT1379]
    Message was edited by: Limnos
    Message was edited by: Limnos

  • Apple Mini-DVI to Video Adapter - Can't get it to work!

    Bought the Apple Mini-DVI to Video Adapter to hook up my Macbook to my TV. I tried it when it first arrived and it worked within minutes of setting up. Great! I go to set it up and use it again a week later, and it wouldn't work at all. I went through every possible setting I could to try and get it to work, nothing. Do these things have a tendency to go out or short out or something? I'm getting nothing but scrambled screens, grey screens, etc. Nothing seems to work.
    http://store.apple.com/us/product/M9319G/A?mco=MTY3ODQ5OTY
    Any other solutions for playing my laptop on my TV?

    Hey Rob,
    Is your profile information accurate? The MacBook 2,1 was introduced in November of 2006 and discontinued in May of 2007, so the mini-DVI to video adapter ought to work.
    What, exactly, do you see on your screen? Are all of the connections nice and snug? Do you have another RCA cable you can try? You can use a white or red one if you want; they all will work as long as you're connecting the video adapter to the yellow port on the TV.
    ~Lyssa

  • Have an MP4 video but can't get it into itunes

    I have an MPEG-4 video that I want to import into itunes and then play on ipod video. The file type is fine in terms of the spec that apple says can be played on ipod video.
    I have tried dragging the file into the library and 'add folder to library', as well as 'add file to library', but none of them seem to work.
    I do not get any error messages, but i can not find the video anywhere in the library. Every websire I have been to says to just drag the file into the library.
    Please can anyone help? thanks....

    OK, have tried a different file, which I can now import into itunes. It is showing on the ipod, but without sound. I looked at other post advice, but they don't refer to MP4.

  • Have downloaded video but can't get closed captions?

    Have downloaded video from Apple TV, and while it shows it should contain Closed caption, I can't find a way of getting them up on screen when replaying. Any thoughts?

    It depends on if the content you are watching as any.  If you select and hold down the select button while playing the content it will bring up the content menu.  The subtitles tab will let you select what ever content is encoded for the show you are watching.

  • I input 1080p high quality video - how can I get as lossless export as possible?

    I am making a long documentary and I want to synch video and audio and prepare many snippets of video and put them in my library. I want to export each of them as lossless as possible. What are the optimal export settings for lossless?
    -Rodel Ituralde

    Did you load the footage already? If so, what is the codec?
    If not then we generally use 10 bit uncompressed & ProRes 422 (HQ)
    We load with one of those codecs, have sequence settings to match, & then export QT current settings.
    one issue is the files can be rather large.
    last doc we worked on as 10 bit uncompressed was 400 GB for the final export (50 min)
    Pro Res is said to be virtually lossless. Lots of other options, but all depends on what  codec the footage is, what your edit settings are, and what the final end use is for the project.

Maybe you are looking for

  • Can't install Adobe Reader 8.1.2 to Mac OS X 10.5.3

    Downloading the .dmg file was no problem, nor mounting it; but there's a circle with a slash through it over the Adobe Reader Installer icon, and if I double click it I get the following message: You can't open the application "Adobe Reader 8 Install

  • Dual Display Issues, Mini Display Cable, Firewire, USB, Nothing Works

    I am working on a project for my supervisor, the specifics of each machine are listed below to the best of my ability: Machine 1: iMac9,1 Intel Core 2 Duo Version: 10.6.8 Build: 10K549 Machine 2: iMac10,1 Intel Core 2 Duo Version: 10.6.8 Build:10K549

  • Open NAT / Xbox One

    I have Fios Quantum with a Actiontec MI424-WR router Rev. I, believe it is the most recent action tech, the router is black and red. I can't get an Open NAT, it is set to strict. This is preventing me from joining Xbox Live parties and playing online

  • What is meant by stacked list

    hi what is meant by stacked list

  • Collect comments on automatic start of reusable workflow

    I want to start a workflow automatically, how can I collect  "comments" (multiple lines of text) metadata from users when they are checking in a document, that should be collected by the workflow?