futtta's blog

Frank Goossens' Twitterless twaddle

Audio-only YouTube embedding with WP YouTube Lyte 0.7

with 14 comments

Last night I finished version 0.7.0 of WP YouTube Lyte. The bump in version number (0.6.5 to 0.7.0) is because of a new feature: the ability to embed YouTube as audio-only player, as seen on Pitchfork. Because after all, as great a source for music discovery as YouTube can be, you really don’t want to force your visitors to watch yet another clumsy fan-made slideshow while they’re listening to your latest musical crush, do you?

Embedding YouTube as an audio-only player is dead-simple; add an ‘a’ instead of a ‘v’ to the YouTube link and you’re good to go!

httpa://www.youtube.com/watch?v=iFjgv1MO724

becomes this audio-only embedded YouTube with Dorian Concept’s “Her Tears Taste Like Pears”;

Watch this video on YouTube or on Easy Youtube.
Possibly related twitterless twaddle:

Written by frank

April 19th, 2011 at 7:36 am

14 Responses to “Audio-only YouTube embedding with WP YouTube Lyte 0.7”

  1. fruityoaty

    23 Apr 11 at 18:16

    Thanks for fixing the Feedburner issue (RE: thumbnail image in noscript-tags now inherit size of div). That’s been bugging me for a while, except I got too lazy to report the issue.

    Anyway, RE: audio player (minus video area). So cool. Thanks! Actually, I use the widget functionality just for the purpose of putting music on my sidebar. However, “httpa” doesn’t work in sidebar. Results in blank video. Will you be supporting “audio player in sidebar” anytime soon?

    Also, on a differnt note, I left a recommendation comment on: http://weblogtoolscollection.com/archives/2011/04/20/plugin-review-youtube-comparison/ Article: Plugin Review: YouTube Comparison (of YouTube WordPress plugins). Yours, I believe is THE BEST. :)

    • frank

      23 Apr 11 at 21:41

      adding audio to widget is certainly doable and well within the scope of wp youtube lyte, I’ll probably add it for 0.7.2! and thanks for the recommendation!!!! :-)

      • frank

        25 Apr 11 at 14:31

        I just pushed 0.7.2. out to wordpress.org, kind of in a rush, as there was a stupid bug to solve. anyway, the audio widget is in there (although I didn’t test it as much as I would have liked to). hope you like it! :-)

  2. HHO

    20 Jul 11 at 01:22

    hello

    ty for the plugin

    what i m missing is an autostart option

    regards

    HHO

  3. HHO

    20 Jul 11 at 01:26

    PS: and a loop

    • frank

      20 Jul 11 at 08:03

      i’m afraid autostart renders wp-youtube-lyte useless: the assumption is a video is often not played. for those occurences (and until someone presses play) it makes sense to have the lyte “dummy” player. when a clip is autoplayed, there’s no sense in having a dummy player. loop and autoplay are available in “smart youtube“, which I’m happy to recommend as a (non-lyte) alternative!

  4. Jan

    10 Aug 11 at 03:01

    Got the video to play without stopping.

    Is there any way to remove shadowbox and title?

    Thanks for the plug-in!

    • frank

      10 Aug 11 at 08:24

      to remove the tiltle, you’d have to change the javascript in wp-youtube-lyte/lyte/lyte.js, shouldn’t be that hard though. not sure I understand what that “shadowbox” is? :)

  5. Bertin

    25 Oct 11 at 23:22

    thnx,

    one little problem.

    when I use httpa://… the small menu appears but when I click it. it opens the youtube page instead of playing audio only.

    • frank

      26 Oct 11 at 06:12

      hi bertin; do you have a URL where this is happening?

      • frank

        26 Oct 11 at 11:31

        There’s a link around the lyte-player, if you remove it, it should work ok.

        <a href="http://www.youtube.com/watch?v=k9u5rfyTIoo"><div class="lyte audio" id="k9u5rfyTIoo" style="width:420px;height:38px;">...</div></a>
        should be
        <div class="lyte audio" id="k9u5rfyTIoo" style="width:420px;height:38px;">...</div>

  6. Bertin

    26 Oct 11 at 11:39

    perfect!! thank you!

Leave a Reply