- Mpeg multimedia madness
- Posted by Del on February 16th, 2006
Okay, now this is driving me bonkers and I can not get a straight answer out
of w3schools.
I want to place a small video file INISIDE a html page, with play/stop/pause
controls. Yes, it must be inside the page in a specific place so they can
read the guides and view/stop/rewind/pause easily.
So, I went to w3schools
http://www.w3schools.com/media/media_browservideos.asp to check up on the
<object> and <embed> options. I copy and pasted their simple syntax, and I
copy and paste their statements;
'Internet Explorer and Netscape both support an element called <embed>.'
'Internet Explorer and Netscape both support an HTML element called
<object>.' (reccomended)
http://www.smashinguitars.com/play_a...deo-OBJECT.htm it validates.
IE; localy blocks activeX and pops open mediaplayer, Online it blocks it
full stop.
Netscrape; localy does sod all, Online plays audio but no video or controls.
FFx; localy plays audio but no video or controls, Online does the same.
Somebody please take a look at my source code and tell me what's going on.
Please.
I've put Song2 by Blur on there as test for your entertainment until I get
my little video clips.
~~~~~~~~~~~~~~~~~~~~~~~~~~
|)e|_
ps I went to big sites like virgin playing video to nick their code but they
didn't validate
- Posted by Spartanicus on February 16th, 2006
"Del" <del@smashinguitars.com> wrote:
Not a place to look for quality information.
Stop wanting that
http://www.spartanicus.utvinternet.i...htm#audiovideo
Do you have permission to publish Blur's copyrighted material?
--
Spartanicus
- Posted by Del on February 16th, 2006
"Spartanicus" <invalid@invalid.invalid> wrote in message
news:77r8v19rat8j2dlgo94jkdarojgl3p8aps@news.spart anicus.utvinternet.ie...
You don't know what it's about yet so I'll judge it's need. But as they will
be small (240 x 200) and short (up to15sec) I am now considering Flash with
action buttons
Good point.
|)e|_
- Posted by Spartanicus on February 16th, 2006
"Del" <del@smashinguitars.com> wrote:
You should consider the needs of the user, what you think they need or
want is often something different entirely.
From one badly broken plan to another. I suppose it fits with the badly
authored site you have already.
--
Spartanicus
- Posted by Del on February 16th, 2006
"Spartanicus" <invalid@invalid.invalid> wrote in message
news:md29v1p1ajr3s4a4c4uhtagqqrjml75otk@news.spart anicus.utvinternet.ie...
Sorry that sounded stiff but I know what a guitarist needs to see, can I
have a reccomendation then please, this is the scenario;
Pages like this http://www.smashinguitars.com/tab/tab_dryyoureyes.htm show
the notes/chords to be played, then under the 'Vital tip' description I need
to place some kind of video+audio of the tip being performed.
The reason it needs to be on the same page is so the user can read the tip,
watch the tip, hear the tip and see the notes all from one window area. For
that tune 'Dry your eyes' it will be very short as only 1 finger is moved.
If mpegs are so delicate to embed, I thought to try rendering the mpeg into
a swf file which seems to be much more browser friendly and can be
triggered/stopped with one click on a 'button area' or left to seamlessly
loop.
What can you guys suggest to stop my hammer drill meeting my PC?
|)e|_
- Posted by Spartanicus on February 16th, 2006
"Del" <del@smashinguitars.com> wrote:
Ah, a description of what you are actually trying to do, now we are
getting somewhere.
Because I don't know what will be in the videos, it's not entirely clear
yet what you are aiming for. Are the videos meant to replace the current
ASCII tab diagrams, or should the ASCII tab diagrams remain visible with
the video?
--
Spartanicus
- Posted by Del on February 16th, 2006
"Spartanicus" <invalid@invalid.invalid> wrote in message
news:5vb9v191jvj7sbnu8lno5n2k11ucdhndve@news.spart anicus.utvinternet.ie...
Show both. Flash is actualy ideal.
Only a quick try with a wobbly phone and no sound, but something like this;
www.smashinguitars.com/dry_your_eyes-DEMO.swf
But it's not sized up obviously
|)e|_
- Posted by Stevie D on February 16th, 2006
Del wrote:
<embed> is deprecated. <object> is preferred for all <embed>s as well
as a number of other things.
http://www.smashinguitars.com/videos/none.mpg
Error 404 File Not Found
As an aside, I would set height and width attributes to the <object>.
You sure?
The problem with the SWF file you've now put on is that there are no
user controls.
--
Stevie D
\\\\\ ///// Bringing dating agencies to the
\\\\\\\__X__/////// common hedgehog since 2001 - "HedgeHugs"
___\\\\\\\'/ \'///////_____________________________________________
- Posted by Jim Ley on February 16th, 2006
On Thu, 16 Feb 2006 20:10:15 +0000, Stevie D
<stevie@sjd117.freeserve.co.uk> wrote:
preferred in what sense?
In this situation:
<object data="fred.swf" type="application/x-shockwave-flash"/>
What do navigations triggered from the flash do, where is it specified
and why does it differ to what happens with navigations in an HTML
document as such:
<object data="fred.swf" type="text/html"/>
Surely they're presentational and belong in thw stylesheet?
Jim.
- Posted by Spartanicus on February 16th, 2006
"Del" <del@smashinguitars.com> wrote:
I'd say that there is some merit in attempting to embed the media in
this specific case since as you pointed out a separate media player
could obscure the ASCII tab diagram and the text content.
This should work reasonably well:
<object data="video.mpg" type="video/mpeg">
<param name="filename" value="video.mpg">
<param name="autostart" value="0">
<a href="video.mpg">Appropriate link text</a>
</object>
Note:
1) The different "type" value than the one used in your initial attempt.
2) The video filename has to be specified *three* times: the "data"
value is used by proper browsers, IE needs it specified as shown with a
<param> element, and people who do not allow multimedia content
embedding in their browser need the link.
3) The <param name="autostart" value="0"> is needed to prevent MS
MediaPlayer from automatically starting the video on page load.
4) You need to configure your web server to serve the video content with
the correct mime type.
5) The "Run ActiveX controls and plugins" setting needs to be enabled in
IE (all other ActiveX settings can be disabled).
Not if the aim is to show audio & video, Flash has limited audio & video
capabilities compared to media players.
--
Spartanicus


