473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

problem in playing the selected video in the embedded quicktime player

Hi all,

Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below are parts of my code:

Expand|Select|Wrap|Line Numbers
  1.  
  2. if($ext=="mov"){
  3.  
  4. echo  "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width=320 height=240 standby='Data is loading...' codebase='http://www.apple.com/qtactivex/qtplugin.cab'> 
  5.                    <param name=src value='$getVideoPath'>
  6.                    <param name='autohref' value='true'>
  7.                    <param name='controller' value='true'>
  8.                    <param name='href' value='$getVideoPath'>
  9.                    <param name='target' value='quicktimeplayer'>
  10.                    <embed src='$getVideoPath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='true' href='$getVideoPath' target='quicktimeplayer'>
  11.                    </embed>
  12.                    </object>";
  13.  
  14.  
The output results is a Quicktime logo being shown and none of the video selected is shown

*Note: $getVideoPath variable is the path where the user's video are stored.
$ext is the file name extension. So far only my file that is .avi is working on windows media player.
Mar 12 '08 #1
1 2095
Markus
6,050 Expert 4TB
Hi all,

Recently, i have met a problem in playing the selected video in the embedded quicktime player. I am creating a video gallery for people to view their .mov file on quicktime player. Below are parts of my code:

Expand|Select|Wrap|Line Numbers
  1.  
  2. if($ext=="mov"){
  3.  
  4. echo  "<object classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width=320 height=240 standby='Data is loading...' codebase='http://www.apple.com/qtactivex/qtplugin.cab'> 
  5.                    <param name=src value='$getVideoPath'>
  6.                    <param name='autohref' value='true'>
  7.                    <param name='controller' value='true'>
  8.                    <param name='href' value='$getVideoPath'>
  9.                    <param name='target' value='quicktimeplayer'>
  10.                    <embed src='$getVideoPath' type='image/x-quicktime' width=320 height=240 autohref='true' controller='true' href='$getVideoPath' target='quicktimeplayer'>
  11.                    </embed>
  12.                    </object>";
  13.  
  14.  
The output results is a Quicktime logo being shown and none of the video selected is shown

*Note: $getVideoPath variable is the path where the user's video are stored.
$ext is the file name extension. So far only my file that is .avi is working on windows media player.
What do you see when you look at the source code of the output data?

(the embed code - are the variables outputting properly?)

Regards.
Mar 15 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: DMS | last post by:
I need to create some specifications and budget request for a workstation (G5) and all necessary hardware and software for authoring online college courses. The course material would contain short...
5
by: Steve S | last post by:
Hi, I'd like to embed a video on a web page and control it from Javascript. I'm trying to pick the best player to use for the job - Real Player, Quick Time, Windws Media Player, or whatever. The...
7
by: Sean | last post by:
Hi I've written an HTML page that has a link to an MPG file, to be burned onto a "Demo CD". The MPG file is quite big - 500MB. On my computer, it works fine - clicking the link opens up Windows...
2
by: jen_designs | last post by:
I have a html page with an embeded video and a drop list. What I would like to do is have the user select a video from the drop list, then replace the embeded video on the screen. Is there a way...
1
by: torbs | last post by:
I have a problem when I use javascript to get the length and position of a movie I recieve from a rtsp stream. The length and position is extremely high and not the actual length and position of...
1
by: majestik | last post by:
Question, can I see an event in Javascript that tells me a video starts playing using the <embed src="file.wmv>. I stream the video, but there is a wait time and wanted to pop up a message telling...
2
by: gsauns | last post by:
I have a Windows Media Player control embedded in my page. This is the code I use to get it to play: function setPlayerURL() { player = document.getElementById("wmpWindow"); myURL =...
3
by: tn | last post by:
Hi, I have a test page at http://maroc.tribalnetworks.org/testmov.html I am trying to find a way to embed the video as simply as possible without specifying WMP or QuickTime player (or any...
4
chelvan
by: chelvan | last post by:
hi all <! -- Google Video HTML Code -- > <embed style='width:400px; height:326px;' id='VideoPlayback' align='middle' type='application/x-shockwave-flash' ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.