SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast Phyxas's Avatar
    Join Date
    Mar 2010
    Location
    Houston, TX
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating an own audio/video player?

    Hello,

    I am not sure whether this requires flash or not, therefore I'd like to ask if it is technically possible to create your own audio/video player with JavaScript/jQuery? If not, could I create something similar just not with full functionality? Like stop, next, previous, etc. buttons?

    Regards

  2. #2
    SitePoint Evangelist hexburner's Avatar
    Join Date
    Jan 2007
    Location
    Belgium
    Posts
    591
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd suggest using JW Player, a video player that supports even iPhone & iPad by using HTML5 video, and if the video format (like .mp4) is not supported by HTML5 video in your browser, it falls back to the Flash version of the video player.
    MP4 H.264 will probably be the best choice, the format is supported by iPhone & iPad, and it plays in all browsers using the Flash version of JW Player.

    You can download skins for JW Player or you can create your own skin.
    FOR SALE: 1 set of morals, never used, will sell cheap

  3. #3
    SitePoint Enthusiast Phyxas's Avatar
    Join Date
    Mar 2010
    Location
    Houston, TX
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply.

    I was actually more referring to "creating" my own audio/video player, not using an API to redesign a player etc.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,716
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by Phyxas View Post
    Thanks for the reply.

    I was actually more referring to "creating" my own audio/video player, not using an API to redesign a player etc.
    Yes it is possible, in much the same way that it's possible to design and build your own car. There do tend to be many compatibility problems that you will face, but yes it is possible to create your own audio/video player.

    If you want it to work on a wide range of devices with a wide range of file types, you will be best served to stand on the shoulders of giants and use a pre-existing API, because they have already faced all of the compatibility problems out there and found suitable solutions to deal with them.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

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