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
    Regular Coder
    Join Date
    Feb 2008
    Posts
    111
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Help with Player and Object code

    This code (below) works successfully inside <video> tags as a flash fallback solution.
    Now that I have the Flowplayer installed, I'm wondering if this part of this line needs to be changed:

    Code:
    data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf"
    If so, what should it be changed to?
    Can you please tell me what this (data="...) part of the line is for?


    Code:
    <object class="vjs-flash-fallback" width="640" height="264" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
    <param name="movie" value="[var.base_url]//flowplayer/flowplayer-3.2.16.swf" />
    <param name="allowfullscreen" value="true" />
    <param name="flashvars" value='config={"playlist":["[var.base_url]/[var.thumb_file]", {"url": "[var.base_url]//uploads/[var.video_play]","autoPlay":false,"autoBuffering":true}]}' />
    <!-- Image Fallback. Typically the same as the poster image. -->
    <img src="[var.base_url]/[var.thumb_file]" width="640" height="264" alt="Poster Image" title="No video playback capabilities." />
    </object>
    Thanks

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,478
    Thanks
    6
    Thanked 981 Times in 954 Posts
    If it works why would you wanna change it?
    As to the data attribute read https://developer.mozilla.org/en-US/...Element/object and http://joliclic.free.fr/html/object-tag/en/ (despite being old, this article still has value for current implementations).


  •  

    Posting Permissions

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