Easier video embedding

General chat room. Pompey related or not, but PLEASE keep it reasonably clean.

Moderators: Kingofstar, Chris_in_LA, lakespfc, Admin, General Mods

Post Reply
User avatar
RubiconCSL
Site Admin
Posts: 6729
Joined: Thu May 11, 2006 11:23 am
Location: Somerset UK
Has liked: 80 times
Been liked: 64 times

Easier video embedding

Post by RubiconCSL »

Morning all.

I've added a bit of code, to make embedding video a lot easier. No having to work out those pesky BBCODES any longer. Just paste the full URL of the video. Should work on more sites than just YouTube as well. I've enabled quite a few of the "popular" sites e.g. vimeo, spotify, Twitter etc.

So just paste the URL and it should work. If it still doesn't - looks like the default style isn't 100% happy for some reason - then use the bbcodes [media] and [/media] around the URL. You can either type those in, or click the odd-looking square button at the top of the edit box, which has the tooltip "Media Embed...". I'll work out what needs to change in the default style to get it to work without it.

Code: Select all

[media]full URL[/media]
Example: [media]https://www.youtube.com/watch?v=zkarn8nwspA&list=PLUJyiudXRBGOJYT2HXrv17dEPK4DtdhuQ[/media]
Produces: -

Code: Select all

[media]https://vimeo.com/293175826[/media] produces: -
Like many, trust few and always paddle you own canoe.
Image
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

  • Similar Topics
    Replies
    Views
    Last post