function processShortcodeBackgroundVideo($attribute, $content, $tag)
    {
        $html = null;
        $option = array();
        $Validation = new PBValidation();
        $attribute = $this->processAttribute($tag, $attribute);
        if (!$Validation->isBool($attribute['loop'])) {
            return $html;
        }
        if (!$Validation->isBool($attribute['muted'])) {
            return $html;
        }
        if (!$Validation->isNumber($attribute['volume'], 0, 100)) {
            return $html;
        }
        if (!$Validation->isFloat($attribute['playback_rate'], -999.99, 999.99)) {
            return $html;
        }
        if ($Validation->isEmpty($attribute['video_format_webm']) && $Validation->isEmpty($attribute['video_format_ogg']) && $Validation->isEmpty($attribute['video_format_mp4'])) {
            return $html;
        }
        $key = array('loop', 'muted', 'poster', 'volume', 'position', 'playback_rate', 'video_format_mp4', 'video_format_ogg', 'video_format_webm');
        foreach ($key as $value) {
            $option[$value] = $attribute[$value];
        }
        $html = '
			<div class="pb-script-tag">
				<script type="text/javascript">
					jQuery(document).ready(function($) 
					{
						$(\'body\').PBBackgroundVideo(' . json_encode($option) . ');
					});
				</script>
			</div>
		';
        return $html;
    }
 function processShortcodeGoogleMapMapTypeStyle($attribute, $content, $tag)
 {
     $attribute = $this->processAttribute($tag, $attribute);
     $Validation = new PBValidation();
     $data = array();
     $style = array();
     if (array_key_exists($attribute['feature_type'], $this->mapTypeStyleFeatureType)) {
         if ($attribute['feature_type'] != 'all') {
             $data['featureType'] = $attribute['feature_type'];
         }
     }
     if (array_key_exists($attribute['element_type'], $this->mapTypeStyleElementType)) {
         if ($attribute['element_type'] != 'all') {
             $data['elementType'] = $attribute['element_type'];
         }
     }
     if ($Validation->isColor($attribute['hue'], false)) {
         $style[]['hue'] = PBColor::getColor($attribute['hue']);
     }
     if ($Validation->isNumber($attribute['lightness'], -100, 100, false)) {
         $style[]['lightness'] = $attribute['lightness'];
     }
     if ($Validation->isNumber($attribute['saturation'], -100, 100, false)) {
         $style[]['saturation'] = $attribute['saturation'];
     }
     if ($Validation->isFloat($attribute['gamma'], 0, 10, false)) {
         $style[]['gamma'] = $attribute['gamma'];
     }
     if ($Validation->isBool($attribute['inverse_lightness'])) {
         $style[]['inverse_lightness'] = $attribute['inverse_lightness'];
     }
     if (array_key_exists($attribute['visibility'], $this->mapTypeStyleVisibility)) {
         $style[]['visibility'] = $attribute['visibility'];
     }
     if ($Validation->isColor($attribute['color'], false)) {
         $style[]['color'] = PBColor::getColor($attribute['color']);
     }
     if ($Validation->isNumber($attribute['weight'], 1, 999, false)) {
         $style[]['weight'] = $attribute['weight'];
     }
     $data['stylers'] = $style;
     return ',' . json_encode($data);
 }