Results 1 to 6 of 6

Thread: Quicktime player not playing on web

  1. #1
    Join Date
    Nov 2010

    Quicktime player not playing on web

    The following code is supposed to play an mp4 movie in QuickTime on a web page. If I click on the file in Windows Explorer, it plays the file okay in IE or Firefox. But if I try to open it over the web, Firefox shows the big blue "Q" symbol of QuickTime and writes both the error messages, and IE displays a faded "Q" with a question mark over it. The Firefox Error Console shows no errors, warnings or messages.

    The one clue I have is that Safari's Error Console says "Failed to load resource: the server responded with a status of 404 (Not Found)" and gives the name of the video. But the path and name are both correct. And it's finding the css file in the css folder no problem.

    		<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" type="image/x-macpaint" height="480" width="640">
    			<param name="src" value="test.mp4" /> 
    			<param name="autoplay" value="true" />
    			<param name="controller" value="true" />
    			object failed to play movie
    			<embed src="test.mp4" type="image/x-macpaint" pluginspage="http://www.apple.com/quicktime/download" height="480" width="640" autoplay="true controller="true">
    				Failed to embed
    Currently I've got the type set to "image/x-macpaint" but it behaves just the same when type is set to "video/mp4". I also tried using the data attribute in the object tag instead of using a param tag to pass the src, but that didn't work either. Is it some strange problem with the internal structure of my file? I have tried it with other mp4s and have the same problem.

    I have also tested this in Opera and Chrome, and it doesn't work in either of those either.

    Any help or tips anyone can give me would be very much appreciated. I am testing this on a Dell PC running Windows XP SP3, Firefox 3.6.13 and IE 8. It also doesn't work at home on a Dell running Windows 7 and the same browsers.

    This is in a completely stripped down HTML file which I made for debugging this particular code. There is nothing else happening on the page at all.

    Please let me know of any other information that would be helpful.

    Last edited by goldenthroat; 12-26-2010 at 11:50 AM.

  2. #2
    Join Date
    Feb 2008
    NW Washington State
    Here is sample code that I use... plays mp4 in IE, FF, Chrome, and Safari:
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320"> 
    				<param name="src" value="CEIOL_Narated_4-14-08_old.mp4">
    				<param name="autoplay" value="true">
    				<param name="type" value="video/quicktime" height="256" width="320">
    				<param name="wmode" value="transparent"/>
    				<embed src="CEIOL_Narated_4-14-08_old.mp4" height="256" width="320" autoplay="true" type="video/quicktime" wmode="transparent" pluginspage="http://www.apple.com/quicktime/download/">
    give it a try.
    Best wishes,
    Eye for Video

  3. #3
    Join Date
    Nov 2010

    Thank you

    Thank you for taking the time to reply and give me your suggestion. I tried your code, and played around with it, and unfortunately I couldn't get it to work over the web either. I'm flummoxed. Have you ever heard of such a problem with a video object before? I went to your website and notice that you use a custom-made player. Do you prefer that to QuickTime? I don't even know what other options exist.

  4. #4
    Join Date
    Feb 2008
    NW Washington State
    Here is a working link to the exact code used above (plays is IE, FF, Chrome, Safari). The page is also being used to illustrate how to sandwich Flash between two layers of HTML... but I've turned off the Flash part for now so you can test for yourself the mp4 code.
    If you can't view the video, you may not have the QuickTime plugin installed in your browser. If that's the case, it is just another reason to use Flash and .flv videos instead of QuickTime.
    Flash is much more widely used because more people already have the Flash browser plugin install. The sample page in the link above actually has both a Flash .flv video and a QT mp4 video on the page. Then, using swfobject for Flash detection, if a viewer visits the page and has the Flash plugin... the Flash version plays... if not (like the iPhone for example) then the QT version plays.
    So I recommend using Flash, but you can have QT as a fall back.
    More info on swfobject:
    Best of luck to you on your project!
    Eye for Video

  5. #5
    Join Date
    Jan 2009
    If you put the URL of the video in your location bar do you get the video or a 404 error? It sounds like you might've forgot to upload the video to the server.

  6. #6
    Join Date
    Nov 2010

    The video is definitely uploaded...

    It turns out that it needs to be "hinted" for streaming, but I can't find a free program that hints mp4 files. Do you (or anybody) know of a downloadable executable free program that will add a hinting track to an mp4 movie? I found free/open source video editing programs, but couldn't get them to add a hinting track.


    The other possibility is to convert the movies to .flv (Flash video) but then I need to know how to dynamically write the flash player to the appropriate div in the web page. I've got the code that does that for the QuickTime player, but I'm not sure how to do it for Flash. I can't find a Mime type for Flash - I guess it doesn't need one.

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.10101 seconds
  • Memory Usage 2,895KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (6)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates