chris at lod.com
Wed Sep 11 17:18:38 UTC 2013
in one of my plugins i do my own youtube oembed, so it doesnt show the
iframe, i have mine formatting to use a sublime video html5 video player
instead of the iframe, you could intercept something like that, and go
that route maybe?
On 2013-09-11 12:59 PM, "Steve Taylor" <steve at sltaylor.co.uk> wrote:
>FYI, what I'm dealing with is a carousel with images and videos.
>Ideally I would pause a video if it's playing as it's scrolled out of
>view in the carousel.
>> // Get element holding the video (embed or object)
>> var player = document.getElementById("youtube_player");
>I think this is what I'm looking for. But since wp_oembed_get()
>outputs an iframe, I assume cross-domain stuff prevent me manipulating
>the player? Do I need to do my own custom embedding to let me access
>wp-hackers mailing list
>wp-hackers at lists.automattic.com
More information about the wp-hackers