0 votes
in Coding by (2.1k points)

Further alterations to allow mp4 videos to play.  This code was added to the qa-embed-layer.php file of embed master ...

'mp4http'=>array(

array(

'(http*:\/\/[-\%_\/.a-zA-Z0-9]+\.mp4)[^< ]*',

'<div class="videoWrapper"><embed src="$1" class="embed-video" width="100%" height="343px" autostart="false"/></embed></div>')

),

'mp4'=>array(

array(

'(https*:\/\/[-\%_\/.a-zA-Z0-9]+\.mp4)[^< ]*',

'<div class="videoWrapper"><embed src="$1" class="embed-video" width="100%" height="343px" autostart="false"/></embed></div>')

),

The above covers http and https websites.

Please log in or register to reply to this topic.

...