1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Flash jeroenwijering flv player

Discussion in 'Web Development' started by vareside, Jun 7, 2008.

  1. djwilson

    djwilson New Member


    Hi,

    I think you can just simple click on this link and pick you type of video player.

    http://www.jeroenwijering.com/?page=wizard
     
  2. vareside

    vareside New Member

    Coding

    So, Jaybirddesigns. The easiest solution for that would be to create a link to one player for one title on a playlist. For example:

    Your playlist:
    <a href="player.php?vid=eTL9qE"><b>Title</b><br>Description</a><br><br>
    <a href="player.php?vid=wAkG5m6"><b>Title2</b><br>Description2</a>

    Your page player.php will display a player with a different content depending on the parameters/variables in the URL using a PHP script.
     
  3. Jaybirddesigns

    Jaybirddesigns New Member

    i think i understand so for example:

    <a href="player.php?vid=eTL9qE"><b>Title</b><br>Description</a><br><br>

    This link embeded in a php file would open player.php and start playing vid=eTL9qE ?

    Thanks for the help.
     
  4. vareside

    vareside New Member

    Yes. To do so, please define with a simple php script the content that should be shown when entering the page with the vars vid=eTL9qE for example. In your case, you have to write the player embed with the appropriate file location in there. I can give you a sample code if you want.
     
  5. vareside

    vareside New Member

    Sample Code

    <?php

    $content=$_GET['vid']; //Parameter defined

    if ($content=='eTL9qE') //Value of parameter and content
    {
    echo('PLAYER CODE GOES HERE');
    }

    if ($content=='wAkG5m6') //Value of parameter and content
    {
    echo('OTHER PLAYER CODE GOES HERE');
    }

    ?>
     
  6. Jaybirddesigns

    Jaybirddesigns New Member

    ok so $content tells flash to play eTL9qE video. Is that right? I been looking for ever on how to do this. Thanks.
     
  7. vareside

    vareside New Member

    Coding

    It works the following way:

    $content marks the parameter and for example eTL9qE the value of the parameter and depending on that value and parameter a content (defined at echo directly below) will be displayed, so you need to enter the code for the player there

    but please remove my advices in the code such as //Parameter defined because I discovered that the code is not working with them

    you also need to use it in a php file
     
  8. vareside

    vareside New Member

  9. stiven

    stiven New Member

    Hi, another free flv player

    You can try this free flv player, Aunsoft FLV player,
    I used it for a long time!
     
  10. vareside

    vareside New Member

    But the Jeroen Wijering FLV Player is the most used flv player on the web ever.
     
  11. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    And that other one is for your computer, I'm pretty sure...
     
  12. flyinpc

    flyinpc Banned

    Yep, because it is free and opensource. However, what I use is this flash video player maker, I think it is also excellent.