Support » Fixing WordPress » How to Upload Democracy Now videos to WordPress

  • How to upload Democracy Now videos to WordPress
    Democracy Now uses streaming iframe embed codes for their videos. WordPress does not allow you to embed streaming iframe code, even if you try to use gigya shortcode.
    You have to convert the DN streaming iframe code to flash, and then upload it as flash.
    Here’s how you do it:
    You can’t use Safari; I know for sure it works in Firefox
    1. Click the Share button in the upper right corner of the DN video
    2. Copy the ‘Embed’ code
    3. Extract the http url from the Embed code
    example:
    <iframe width=”400″ height=”225″ src=”http://www.democracynow.org/embed/blog/2014/2/4/video_350org_indigenous_groups_hold_vigil&#8221; frameborder=”0″></iframe>
    3. Open a new Firefox window
    4. Paste the extracted http URL code into the URL box
    5. The video should fill the entire window; what’s in this window is only the video
    6. Under Firefox “Tools”, go to Web Developer; choose “Console”
    7. The Console window will open below the video frame
    8. In the ‘Console’ window, choose the ‘Console’ tab (if not already there)
    9. Find the http URL code in the line: Specified “type” attribute of “video/mp4”. . . Load of media resource http. . . .
    example:
    http://dncdn.dvlabs.com/flash/wx2014-0204_Keystonexl-protest-v2.mp4
    Notice that this URL is a direct link to the flash video in DN’s database and ends in the file extension .mp4
    10. Copy the .mp4 URL
    11. Open a New Post in WP, click on the Text tab and go into the Text content area
    12. Paste the http. . . mp4 URL in the content area on its own line
    13 .Click ‘Post’ or ‘Update’ and your DN video is UPLOADED!

    If for some reason this doesn’t work, you can try adding the additional code below:
    14. In front of the URL, add the [video src= code and open quotes and the URL with .mp4 at the end
    [video src= “http://dncdn.dvlabs.com/flash/wx2014-0204_Keystonexl-protest-v2.mp4
    15. At the end of the URL add the close quotes and close bracket
    example:
    [video src= “http://dncdn.dvlabs.com/flash/wx2014-0204_Keystonexl-protest-v2.mp4”]
    16. Check with Preview to make sure the code is correct and working
    17. Click ‘Post’ or ‘Update’ and your DN video is UPLOADED!

    [video src= "http://dncdn.dvlabs.com/flash/wx2014-0204_Keystonexl-protest-v2.mp4"]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sbartone

    (@sbartone)

    UPDATE: You an actually get the .mp4 video on the standard Democracy Now website, without having to go through the process of opening the video in its own window. It’s just a bit harder to find the code.

    Use Firefox.

    1. Go to the URL for the DN video.

    2. Under Firefox “Tools”, go to Web Developer; choose “Console”

    3. The Console window will open below the video frame

    4. In the ‘Console’ window, choose the ‘Console’ tab (if not already there)

    5. Find the http URL code in the line: Specified “type” attribute of “video/mp4”. . . Load of media resource http. . . .

    example: (without tilde)

    ~http://dncdn.dvlabs.com/flash/wx2014-0204_Keystonexl-protest-v2.mp4

    Notice that this URL is a direct link to the flash video in DN’s database and ends in the file extension .mp4

    6. Copy the .mp4 URL

    7. Open a New Post in WP, click on the Text tab and go into the Text content area

    8. Paste the http. . . mp4 URL in the content area on its own line

    9 .Click ‘Post’ or ‘Update’ and your DN video is UPLOADED!

    Thread Starter sbartone

    (@sbartone)

    The above method is not absolutely foolproof. Sometimes DN does not divide full stream of the show into separate videos, each with their own mp4 URL. If this is the case, you will find an URL with ‘.mp4?start=000.0end=000.0, which, if you copy and paste into the Text content area of WordPress will not convert to streaming video. If you copy just the .mp4 version, it will start at the beginning of the show. I have not found a workaround for this situation, except to tell readers at what minute the video story starts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Upload Democracy Now videos to WordPress’ is closed to new replies.