dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Iphone videos mime - help

  1. #1
    Join Date
    Apr 2013
    Posts
    2

    Iphone videos mime - help

    Hi I am trying to write a html5 web iphone app.

    The app looks on a remote server for video files and then plays them. Trouble is although bog standard mp4 files they have a strange file extension.

    I can't change the mime settings on iphone or server, can't rename the videos.

    Using javascript / jquery is there any way over overriding the the mime setting

    If not is their a custom video player (jquery) that will ignore the mime setting

    If not can you create an object link to the file (with the correct mime type) and pass this to the video tag ?

    Cheers
    Toby

  2. #2
    Join Date
    Apr 2013
    Posts
    2
    Anyone ?

  3. #3
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787
    are the videos long or short?
    if they are short clips, it should be theoretically possible to use binary ajax to grab the bits, and then use window.URL to turn the file in RAM into a url with a new mimetype that the video tag can accept. in theory.
    the other potential for that is using dataURLs (again with any mime type you want) to feed the video tag the video data from a string.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles