Okay, it works !
I changed:
function lyte_preparse($videoId) {
return lyte_parse(‘httpv://www.youtube.com/watch?v=’.$videoId);
}
to:
function lyte_preparse($videoId) {
return lyte_parse(‘httpa://www.youtube.com/watch?v=’.$videoId);
}
in wp-youtube-lyte.php.
Thank you for your help !
Hi,
when I add it directly in a wordpress page, it works (using [lyte id= »_SQkWbRublY » audio= »true » /]).
So I think the plugin is ok, it’s just the way I use it ?
Is there a function that I could use directly in my php like “echo post_video_from_youtube_lyte(url);” ?
Thank.