Coder Social home page Coder Social logo

Comments (3)

mariacha avatar mariacha commented on September 26, 2024

I'm having trouble with this too.

I found if I set the wMode for video objects to opaque I can see and play videos in Firefox.

No version of wmode seems to allow Chrome to play the video. I can see the preview image but can't actually play it.

For these, I'm using an object code, like this:

<p><object wmode="opaque" width="560" height="315"><param name="movie" value="//www.youtube.com/v/Awf45u6zrP0?hl=en_US&amp;version=3"><param name="allowFullScreen" value="true"><param name="wMode" value="opaque"><param name="allowscriptaccess" value="always"><embed src="//www.youtube.com/v/Awf45u6zrP0?hl=en_US&amp;version=3" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" width="560" height="315"></object></p>

I realize this is the old way of attaching youtube videos. I also tried using the new way of embedding youtube (iframes) but then I got no video at all in Firefox, and a fully functional video in Chrome.

from swipeshow.

mariacha avatar mariacha commented on September 26, 2024

I tracked down the lines that seemed to be causing the issue and pushed it up to my forked repo here:
mariacha@70c6cbb

@rstacruz If it looks good, and you let me know what you use to make your .min.js files, I'll push up that too. I tried using this:
http://closure-compiler.appspot.com/home

but it turned out a bit different than yours.

from swipeshow.

rstacruz avatar rstacruz commented on September 26, 2024

Implemented your fix in d03a5b4, except a little differently of course. I'm going to credit you still, of course!

Thanks everyone

from swipeshow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.