Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi Marko;
    That currently is not supported, but you could do that using the API using the “lyte_content_preparse” filter (there’s code in lyte_helper.php_example that shows how you can use that filter).

    Hope this helps,
    frank

    Forgive me for “hijacking” a thread; it’s not my intention, but I think this might be the best place for me to ask my question. If it isn’t, please move it accordingly.

    Frank, I recently added your plugin to test it on a site I’m developing locally and ran into the playlist issue myself. What I’d like to do is link to a playlist and have the audio-only player in a widget.

    I don’t know much about coding at all; do you mind explaining how to enable this, even using the .php file you mentioned in your reply to Marko, please?

    I’d really like to use your plugin. It seems like the easiest way to do what I hope to do with my site.

    Plugin Author Frank Goossens

    (@futtta)

    This is not related to the original poster’s question uplanight45 and can be accomplished with the default functionality of the plugin:

    * go to appearance -> widgets
    * add new widget of the “wp youtube lyte” kind
    * enter the playlist URL
    * select “audio” from dropdown
    * click “save”
    * enjoy

    kind regards,
    frank

    Hi Frank,
    Actually, that’s exactly what I did but the player never transitioned into subsequent videos after the first one finished playing. Do you know why that might be?

    Plugin Author Frank Goossens

    (@futtta)

    not really, no; did a quick test just now on https://futtta.be/wordpress/blog/category/autoptimize/ and the playlist goes to the next song as expected (but that’s entirely youtube functionality really).

    frank

    Plugin Author Frank Goossens

    (@futtta)

    Re Marko’s original question; If you open up /wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php and on line 94 replace

    if (get_option('lyte_greedy','1')==="1"){
                    $the_content=preg_replace('/^https?:\/\/(www.)?youtu(be.com|.be)\/(watch\?v=)?/m','httpv://www.youtube.com/watch?v=',$the_content);
            }

    with

    if (get_option('lyte_greedy','1')==="1"){
                    $the_content=preg_replace('/^https?:\/\/(www.)?youtu(be.com|.be)\/playlist\?list=/m','httpv://www.youtube.com/playlist?list=',$the_content);
                    $the_content=preg_replace('/^https?:\/\/(www.)?youtu(be.com|.be)\/(watch\?v=)?/m','httpv://www.youtube.com/watch?v=',$the_content);
            }

    It should work just fine; when confirmed this will go in the next minor version.

    Happy playlisting!
    frank

    Plugin Author Frank Goossens

    (@futtta)

    I uploaded the test version to www.remarpro.com’s SVN, you can download it here. When you have that on installed, it should automatically convert YT playlist-URL’s into a Lyte playlist.

    frank

    Plugin Author Frank Goossens

    (@futtta)

    Just pushed out 1.6.2 with this feature added. thanks for the idea Marko!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Playlist recognition possible?’ is closed to new replies.