Poindexter
Active member
Do you have an example of a Vox link that works? I did the update but am having trouble getting the embed to happen.
http://rutube.ru/video/dc89144cac37ebd4abb0f40b05eeb253/?ref=logo
@VanillaNeko It works for me. It's possible that you're using an obsolete version of PHP or an outdated version of PCRE. You need at least PHP 5.3 and a PCRE version that's been released in 2006 or later. You can find the version numbers in phpinfo() or by asking your web host.
<iframe width="500" height="300" src="http://www.youtube.com/embed/{$id}?vq=hd720&iv_load_policy=3&rel=0&showinfo=0&theme=light&color=white&autohide=0" frameborder="0" allowfullscreen></iframe>
<!-- see callback -->
Anyway to select Youtube HD 720p as standard.
class s9e_Custom
{
public static function youtube($html, array $vars)
{
return preg_replace(
'(src="[^"]++)',
'$0?vq=hd720&iv_load_policy=3&rel=0&showinfo=0&theme=light&color=white&autohide=0',
$html
);
}
}
is that under Home >> BB Code Media Sites>> Youtube>>Edit BB Code Media Site: YouTube>>Advance options.Don't forget to configure the option in the Admin panel and put youtube=s9e_Custom::youtube in the text box. There's also an option for custom dimensions.
Thanks. It's still not working. Must be something on our end.@Poindexter You need to grab the URL from the "Share this video" button inside of the player. For example: Dear Marvel, I was wrong. Ant-Man is great.
class s9e_Custom
{
public static function youtube($html, array $vars)
{
return preg_replace(
'(src="[^"]++)',
'$0?vq=hd720&iv_load_policy=3&rel=0&showinfo=0&theme=light&color=white&autohide=0',
$html
);
}
}
youtube=s9e_Custom::youtube
Thanks. It's still not working. Must be something on our end.
http://www.vox.com/2015/7/21/9005857/ant-man-marvel-apology-review#ooid=ltbzJkdTpKpE-O6hOfD3YJew3t3MppXb
First i make a file called Custom.php with code
<?php
class s9e_Custom
{
public static function youtube($html, array $vars)
{
return preg_replace(
'(src="[^"]++)',
'$0?vq=hd720&iv_load_policy=3&rel=0&showinfo=0&theme=light&color=white&autohide=0',
$html
);
}
}
Any possibility of adding content from sqor.com/ ?
Here is a post: Originally posted by Conor McGregor on Sqor Sports.
We use essential cookies to make this site work, and optional cookies to enhance your experience.