GetSimple Support Forum

Full Version: YT on website:) Easy plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! This is my new pluginSmile Now we can use easy youtube movie on our websiteSmile How? Mass width & Settings included

How to use this plugin?
Full url your movie: https://www.youtube.com/watch?v=rr0gvSS1OzE

Id for place on your content page with special {% shortcode %}

{% rr0gvSS1OzE %}

Make it "lazy load" Smile
Hi,
Did you use the youtube api ?
Can you hide the title and control buttons ?
this plugin uses iframe from yt with javascript- no api. but maybe i can create update soon.
Hi

I've just tried your Youtube plugin and am being stupid and can't get it to work. ;{

I've added the PHP to the plugins dir in v3.3.16, activated it, and I now get an extra tab for the plugin.

I go to Youtube, find the full URL, select just the section after the v= and paste that onto a new blank page. I set the size to be 50%.

If I 'view' the page I see the player OK, but when I hit the 'Play' button I get an error.

An error occurred. Please try again later. (Playback ID: OOv4BRKtS7vJNg0-)

Learn More


The ID changes on each refresh.

You tube URL looks like:

https://www.youtube.com/watch?v=1Hk1MDcfTjU&t=104s

and short code like this..

{% 1Hk1MDcfTjU&t %}

Seems the same with various Youtube clips.

Any suggestions as to where I might look to fix this please?

Many thanks

David

Later /// Ah, but *does* work with your sample URL..

{% rr0gvSS1OzE %}

Very odd.

and later still //

OK, it seems that some YT video have a URL format like v=xxxxxx=160 as opposed to the 'normal' v=xxxxxx type. The former don't seem to work, but later do!

Problem solved - great plus in - many thanks.