MG 1.1 embed videos from PBS

Tom McIntyre

Active member
PBS antiques Road Show videos can be played by their viralplayer but we do not have the support in our Media Gallery 1.1.16.

I had hoped they would embed from the URL, but that, of course, does not work. The embed code they provide is an iframe. I get an error message if I try to use it with MEDIA bbCode.

Code:
<iframe width="512" height="376" src="https://player.pbs.org/viralplayer/2365629125/" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" seamless allowfullscreen></iframe>[code]

Is there a standard procedure for including a new player?
 
It’s an XF thing more than the gallery. You’d need to create a BB code media site. You may be able to figure out how to set it up by looking at some of the others there. Or you may need an add on or a custom developer to create it for you.
 
I wrote a mimic of the vimeo media site using the embed code from pbs.

In a bout of stupidity, I thought I could just edit the vimeo one and did not realize it would delete the vimeo one. I then noticed the create new link.

I did manage to recreate the vimeo BB code media site also, so I am good to go now.

Thanks for pointing me in the right direction.
 
In case anyone else wants to embed PBS videos, this is what I used:

Media Site ID: pbs
Site Title: pbs
Site URL: https://pbs.org
Match URLS:
Code:
player.pbs.org/viralplayer/{$id:digits}
Embed HTML:
Code:
<iframe src="https://player.pbs.org/viralplayer/{$id}" width="640" height="448" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" seamless allowfullscreen></iframe>
 
Back
Top Bottom