WordPress.org

Forums

WordPress Mobile Pack
Display you-tube videos (2 posts)

  1. kunaljain
    Member
    Posted 4 years ago #

    I have couple of youtube videos embeded within my articles, I want to display them on the mobile version too. If I check the "Remove Media" option the <object> tag is removed else when unchecked a blank space is displayed.

    I checked the wpmp_transcoder.php code file, it has some regular expression code that converts my youtube embeded code to something compatible to mobile device. But however this conversion is not done. I guess its a bug as the written does not work. Could anyone help me to display youtube videos on mobile also ?

    Thanks.

  2. Pat Hawks
    Member
    Posted 4 years ago #

    If you use WordPress's built-in embed support, you can use Better YouTube Embeds to make the videos viewable on a mobile device.

    Once you've installed the plugin, just add the URL of a YouTube video to it's own line on a post, and WordPress will replace the URL with the embed code for the video. This code will work on desktop browsers and mobile browsers like iPhone/iPad/Android.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic