Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
[deleted comment]

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
The documentation mentions that a div overlay is added by the javascript to 
PREVENT users from accidentally clicking through to youtube. So even if you 
modified the code to include an &autoplay=1 (which would probably work) the 
user would be unable to click to start the video. This tool was not designed to 
do that.

But your midmost youtube embed does what you want already. User clicks once for 
play, twice for fullscreen.

Original comment by [email protected] on 9 Dec 2011 at 1:42

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Yeah, you could modify the code to fire tubular on an event.  jenkins is right 
-- this project isn't exactly intended for that use case.  If you know 
JavaScript, it shouldn't be too hard to modify.  I will consider this use case 
for the next build.  Thanks for your feedback, both of you.

Original comment by [email protected] on 24 Feb 2012 at 5:02

  • Changed state: WontFix

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Understand that this project is not intend to play video by clicking.
But still anyway to stop the video from autoplay?
I've try placing autoplay parameter to 0 in the javascript. but it doenst work.
Any advise where to put the parameter?

Help much appreciated.

Original comment by [email protected] on 31 Dec 2013 at 4:23

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 25, 2024
Hey man! 

In this snippet of code, line 69 - 74, comment out 72 and 73, as shown below. 
You'll need to manually include controls at that point, but since the plug-in 
was built for that, you'll be fine.

window.onPlayerReady = function(e) {
            resize();
            if (options.mute) e.target.mute();
            //e.target.seekTo(options.start);
            //e.target.playVideo();
        }

Best of luck!

Original comment by [email protected] on 15 Feb 2014 at 8:46

from jquery-tubular.

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.