Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can anyone help me with this?

    Hi there,

    Firstly I am a complete Javascript newbie, never really used it much!

    Right I am using a wordpress theme to make a website, and this theme enables you to add vimeo videos as portfolio pieces. But the way the theme is calling the vimeo videos in is in the old flash way and not using the universal HTML 5 embedding. I would like to call the videos in using the HTML 5 method because alot of my clients look at the site on their ipad/iphones and obviously the flash method just wont cut it!

    I have had a peek in the global.js and found these little bits of code:

    var movie = "http://vimeo.com/moogaloop.swf?clip_id="+ obj.replace('http://vimeo.com/','');

    This is telling me that the video is being called in using the old flash method "moogaloop.swf" the vimeo flash player skin.

    is there any way I can re write this to enable the HTML 5 version of the video to be loaded at http://player.vimeo.com/video/ (+ clip_id + )

    Also further down the page I found:

    }else if(itemSrc.match(/vimeo\.com/i)){
    return 'vimeo';

    Will the fact that I am going to change the previous variable's URL affect the itemSrc.match??

    I would love a little bit of guidance from anyone you knows about this stuff!?

    Many thanks.
    Last edited by thesmurf22; 01-22-2012 at 09:54 AM.

  • #2
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone shed any light on this? Thank you in advance!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •