• djsven

    (@djsven)


    Bye bye, embedwidth!

    (\[embedwidth src=”(.*?)”([^\]]*)\])

    <video class=”wp-video-shortcode” src=”$1″ preload=”metadata” controls=”controls” $2 />

    BTW, I have found this the only way that embedded videos in WordPress
    a) are being streamed,
    b) work on all browsers,
    c) work on iOS.
    Any deviation like putting the src=”” in a <source…> tag did NOT work. Ah, and I had to add this to .htaccess

    AddType video/mp4 mp4 mp4v mpg4 m4v

    Thanks a lot for the plugin!!! I owe you one and will donate some coins! (Y)

  • The topic ‘Saved me a lot of work, thanks!’ is closed to new replies.