Export to GitHub

jquery-tubular - issue #9

clearVideo


Posted on Sep 7, 2011 by Swift Wombat

Trying to do some buttons to show more videos, I don't know that clearVideo() does but I had to empty some generated ID's:

$('#nextvideo').click(function() { ytplayer.stopVideo(); ytplayer.clearVideo(); $('#yt-container, #video-cover').remove(); $('body').tubular('sbvG8fAoUOE','container'); });

Comment #1

Posted on Dec 8, 2011 by Swift Bear

It's not a bug; it's a feature.

Comment #2

Posted on Feb 24, 2012 by Grumpy Rabbit

You can definitely manipulate tubular to suit your needs. Perhaps I should write some helper functions into the plugin for switching on events? I'll take this into consideration for future builds.

Comment #3

Posted on Feb 24, 2012 by Grumpy Rabbit

(No comment was entered for this change.)

Comment #4

Posted on Oct 1, 2012 by Grumpy Rabbit

Just released 1.0. Tubular is still only designed to work with a single video.

Status: Accepted

Labels:
Type-Enhancement Priority-Medium