Hi;)
This element supports universal video attributes for iframe, object, embed tags.
it allows a framing and a more beautiful definition of videos as an example.
French//
Voilà Cet élément prend en charge les attributs universels video pour les balises iframe,object,embed.
il permet un encadrement et d'une plus belle définition des videos en exemple.
In themes/theme.css open work and add at the end :
/* Divers balise videos by spiritblue */
iframe,object,embed{
border: 6px solid rgba(174,182,188,0);
border-radius: 10px;
-webkit-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-radius-topleft: 10px;
-webkit-border-radius-topright: 10px;
box-shadow: 1px 1px 10px 1px #F0F8FF;
}
just add in your video functions in /backend/functions.php
Example:
// [video]YouTube Videos url[/video]
$s = preg_replace("/\[video\][^\s'\"<>]*youtube.com.*v=([^\s'\"<>]+)\[\/video\]/ims", "<paramb style=\"width:720px; height:400px;\" name=\"movie\" value=\"https://www.youtube.com/v/\\1\" allowFullScreen=\"true\"></param><embed class=\"youtube\" src=\"https://www.youtube.com/v/\\1\" type=\"application/x-shockwave-flash\" width=\"720\" height=\"400\"></embed>", $s);
I hope to have been clear in my comments and sorry for my English which has always been rotten
Tell me if you have any questions, it will be my pleasure to help you in the best of my knowledge as possible. :cool:
[ATTACH type="full" width="457px" alt="5051"]5051[/ATTACH]