Re: [NH] Embeding Video
- Hi ray
try this site
----- Original Message -----
From: "R Shapp" <ras45@...>
Sent: Tuesday, August 09, 2005 4:10 PM
Subject: [NH] Embeding Video
Please tell me what I am doing incorrectly in the sample web page below. My
intention is for the web page to play a video when it is opened. The video
in a file called "interview.rm", and it is in Real Media format.
Of course, once I get the HTML working, I will upload the web page and the
video file to my website. Currently, the web page and the video file are
stored on my local PC.
To test this code, I was successful in getting an audio file to play. The
relevant code for the audio experiment follows:
<object data="c:audio1.wav" type="audio/basic">[sample audio]</object>
When the page opens, Windows Media Player begins playing the audio1.wav file
with no special intervention by me. IOW, the file autoplays.
In the example below, I substituted the name of the video file in place of
audio file in the Object element, but the video does not play. Instead, the
"[sample video]" message appears. On my PC, .RM files are associated with
RealPlayer (32) version 10.0. If I navigate to the video file and
double-click on it, the video plays normally.
Thanks for the help.
*********sample web page********
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<link rev="made" her="mailto:no_place">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="NoteTab Pro 4.95">
<meta name="author" content="Ray Shapp">
<meta name="description" content="play movie">
<meta name="keywords" content="">
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"
<object data="c:interview.rm" type="VIDEO/REALMEDIA">[sample video]</object>
<p><small>Created on ... August 09, 2005</small></p>
CSE HTML Validator Lite - it's free:
Fookes Software Home: http://www.fookes.us/redir
Yahoo! Groups Links