XF 2.2 [BB code media sites]Having trouble configuring the right match url and embed template

Cannabis Ape

Active member
So I figured out how to embed adult sites but one site I can't figure out the right match url.

The url for the videos is;

Website.com/video36390977/title_of_the_video

So the numerals and title change with each video.

Tried;
Website.com/{$id}{$id:digits} Website.com/{$id}{$id:digits}/{$id} Website.com/video{$id:digits}/{$id}

After the first one I can't get the right embed template code right and it won't let me save giving me the error;

Line 4: Syntax error - Template name: public:_media_site_embed_xvideos

Please help figuring out the right codes.

Cheers.
 
If is xvideos i have:

xvideos.com/video{$id} and
Code:
<span data-s9e-mediaembed="xvideos"><span><iframe allowfullscreen="" scrolling="no" src="https://www*********com/embedframe/{$id}"></iframe></span></span>
 
If is xvideos i have:

xvideos.com/video{$id} and
Code:
<span data-s9e-mediaembed="xvideos"><span><iframe allowfullscreen="" scrolling="no" src="https://www*********com/embedframe/{$id}"></iframe></span></span>
Yes it's xvideos.

Your code does work however the player looks different than all the other ones.

For the other big names they all play in the bb media wrapper, which shows the title in the top with the site logo on the right and all have the same size.

The player from your code is a different size and doesn't show title.

I appreciate your reply but is there any way to make it work with the other player so it looks like the rest?

I stripped a bit of your code and it still works but I don't understand why the player is different as with the other sites it's the same player.

I now got;
Code:
<div class="bbMediaWrapper">
    <div class="bbMediaWrapper-inner">

<iframe src="https://www*********com/embedframe/{$id}/" frameborder="0" width="560" height="315" scrolling="no" allowfullscreen></iframe>
 
Last edited:
Yes it's xvideos.

Your code does work however the player looks different than all the other ones.

For the other big names they all play in the bb media wrapper, which shows the title in the top with the site logo on the right and all have the same size.

The player from your code is a different size and doesn't show title.

I appreciate your reply but is there any way to make it work with the other player so it looks like the rest?

I stripped a bit of your code and it still works but I don't understand why the player is different as with the other sites it's the same player.

I now got;
Code:
<div class="bbMediaWrapper">
    <div class="bbMediaWrapper-inner">

<iframe src="https://www*********com/embedframe/{$id}/" frameborder="0" width="560" height="315" scrolling="no" allowfullscreen></iframe>

I don't think you can tweak to show the title, is his embed code and besides size i don't see any parameter.
 
Back
Top Bottom