Hennings side om videoredigering, MiniDV og DVD


Indtast søgeord
Search technology by FreeFind.com

HD video
High Definition
HD sider


SD video
Standard Definition
SiteMap
Kamera
Optagelse
Capture
Redigering
Opbevaring
Kvalitet

DVD info
DVD guide
DVD backup
SVCD info
SVCD guide
VCD info
VCD guide

Video teori
Codec
Kompression
Billedformat

Internet
Streaming
VideoTest
Embed code

Hjælpeværktøj
Tips & Trix
Rettigheder
Ordliste
Links

ha@abmedia.dk

Henning Andresen
Slotsgade 17
6100 Haderslev

Embed Tag Attributes

så du kan styre video på din hjemmeside.

Opdateret d. 8.10.2011


AUTOHREF HOTSPOTn SCALE
AUTOPLAY HREF SRC (!)
BGCOLOR=HEX KIOSKMODE STARTTIME
BGCOLOR=NAME LOOP TARGETn=FRAME_NAME
CACHE MOVEID TARGET=MYSELF
CONTROLLER MOVIENAME TARGET=QUICKTIMEPLAYER
CORRECTION NODE TARGETCACHE
DONTFLATTENWHENSAVING PAN TILT
ENABLEJAVASCRIPT PLAYEVERYFRAME TYPE=MIMEtype
ENDTIME PLUGINSPAGE URLSUBSTITUTEn
FOV QTNEXTn VOLUME
GOTOn QTSRC WIDTH (!)
HEIGHT (!) QTSRCCHOKESPEED
HIDDEN QTSRCDONTUSEBROWSER


--- De 3 attributter med udråbstegn (!) skal altid angives.  -  HEIGHT WIDTH SRC  ---
Her er et eksempel på EMBED anvendt på en af mine sider:

<EMBED
TYPE="application/x-mplayer2" 
PLUGINSPAGE = "http://www.microsoft.com/Windows/MediaPlayer/"
SRC="http://www.hand.mobilixnet.dk/video/romo.wmv"
WIDTH="320"
HEIGHT="284"
AUTOPLAY="1"
SHOWSTATUSBAR="1">

Forklaring.
TYPE fortæller hvilket Plug-in browseren skal benytte
PLUGINSPAGE viser hvor Plug-in kan hentes hvis det ikke er installeret
SRC angiver stien og navnet på din video
WIDTH er bredden på video
HEIGHT er højden på video - husk at lægge ca. 44 pix til hvis du benytter StatusBar
AUTOPLAY får filmen til at starte automatisk
SHOWSTATUSBAR viser status forneden i afspilleren

Bemærk: I de fleste tilfælde kan du anvende "1" og "0" i stedet for "True" og "False".


De enkelte Attributter gennemgås herunder
AUTOHREF=value (optional)
AUTOHREF kan sættes til TRUE eller FALSE. Som standard sat til FALSE. Hvis sat til TRUE, vil AUTOHREF starte den URL som er defineret uden at vente på et museklik.

Eksempel:
embed src="sample.mov" width="200" height="240" href="http://dns/foo.mov" autohref="true"
Til Top
AUTOPLAY=value (optional)
AUTOPLAY kan sættes til TRUE eller FALSE. Standard er bestemt af brugeren med 'QuickTime Plug-in Settings.' Hvis den sættes til TRUE, vil playeren starte afspilningen lige så snart den har beregnet at der er hentet nok data til problemfri afspilning.

Eksempel:
embed src="sample.mov" width="200" height="240" autoplay="true"
Til Top
BGCOLOR=hex value (optional)
Bestemmer farven på baggrunden som ikke dækkes af video. Eksempel, hvis en 160x120 video afspilles på en side der er 200x120, vil der være 40 pixels baggrund synlig. Ved at specificere bagrundsfarven kan du bestemme hvordan den skal se ud.
Eksempel:
embed src="sample.mov" width="200" height="240" bgcolor="000000"
Til Top
BGCOLOR=name (optional)
QuickTime 4 Plug-in understøtter brugen af farvenavne. Navnene kan ses her:
"BLACK" (#000000), "GREEN" (#008000), "SILVER" (#C0C0C0), "LIME" (#00FF00),
"GRAY" (#808080), "OLIVE" (#808000), "WHITE" (#FFFFFF), "YELLOW" (#FFFF00),
"MAROON" (#800000), "NAVY" (#000080), "RED" (#FF0000), "BLUE" (#0000FF),
"PURPLE" (#800080), "TEAL" (#008080), "FUCHSIA" (#FF00FF), "AQUA" (#00FFFF)
Eksempel:
embed src="sample.mov" width="200" height="240" bgcolor="black"
Til Top
CACHE=value (optional)
Ønsker du din video gemt i temp-mappen hos brugeren kan det gøres med CACHE=TRUE. Det bevirker at næste gang brugeren besøger siden hentes videoen i temp-mappen og er klar med det samme. CACHE kan enten være TRUE eller FALSE, eller du kan bare skrive CACHE. CACHE alene virker som TRUE. Standardværdien er sat op af brugeren med 'QuickTime Plug-in Settings.'
Note: Denne kommando virker kun med Netscape Navigator, version 3.0 ell. senere.
Eksempel:
embed src="sample.mov" width="200" height="240" cache="true"
Til Top
CONTROLLER=value (optional)
CONTROLLER styrer visningen af kontrolpanelet. CONTROLLER kan være TRUE eller FALSE. Som standard er den TRUE. Hvis den sættes til FALSE kan brugeren ikke styre afspilningen.
Eksempel:
embed src="sample.mov" width="200" height="240" controller="false"
Se også  HEIGHT
Til Top
CORRECTION=value (optional)
CORRECTION kan sættes til NONE eller FULL. Standardværdi er FULL. Denne attribut benyttes kun til QuickTime VR panoramas.
Eksempel:
embed src="sample.mov" width="320" height="240" correction="full"
Til Top
DONTFLATTENWHENSAVING (optional)
DONTFLATTENWHENSAVING makes the plug-ins' 'Save as QuickTime movie' work the same way the 'Save as source' does. Adding the DONTFLATTENWHENSAVING tag saves the data into a movie file without flattening it.
Eksempel:
embed src="sample.mov" width="320" height="240" dontflattenwhensaving
Til Top
ENABLEJAVASCRIPT (optional)
ENABLEJAVASCRIPT kan sættes til TRUE eller FALSE. Standard er FALSE. Hvis du ønsker at kontrollere en QT-video med JavaScript skal den sættes til  ENABLEJAVASCRIPT="TRUE".
Eksempel:
embed src="sample.mov" width="320" height="240" enablejavascript=true"
Til Top
ENDTIME=time (optional)
ENDTIME attributten definerer den sidste frame i videoen og kan være en hvilken som helst tid op til slutningen af filmen. Som standard er ENDTIME det samme som slutningen af filmen. Attributten skrives i formatet -- Timer:Minutter:Sekunder:Frames (30ths). 
Eksempel:
embed src="sample.mov" width="200" height="240" endtime="3:30:22.5"
Se også STARTTIME
Til Top
FOV=integer (optional)
Only integer values between 8 and 64 degrees are supplied for this attribute. If no value is specified for FOV, the value stored in the movie is used. The FOV attribute allows you to specify the initial field of view angle for a QuickTime VR movie.
Eksempel:
embed src="sample.mov" width="320" height="240" fov="55"
Til Top
GOTOn (optional)
Se QTNEXT
Til Top
HEIGHT=size in pixels (Skal bruges)
Definerer højden i pixels af din video. HEIGHT skal bruges medmindre du bruger HIDDEN attributten. Hvis du ikke bruger SCALE attributten og indsætter en HEIGHT der er mindre end din film (plus 16 hvis du viser controller), bliver filmen beskåret så den passer i vinduet. Indsætter du en værdi større end din video vil filmen blive centreret og der vil vises sort baggrund for oven og for neden.
Note: Sæt aldrig højden til mindre end 2, da det kan skabe problemer med visse browsere.
Note 2: Controller panelet er 16 pixels i højden (Quick Time) som du skal lægge til værdien hvis den skal vises.
Eksempel:
embed src="sample.mov" width="200" height="240" controller="true"
Se også  WIDTH
Til Top
HIDDEN (optional)
Skjuler dit medie. Hvis ikke du bruger HIDDEN, vil din video blive synlig. If you supply HIDDEN, the movie is not visible on the page. This option is not appropriate for QuickTime VR Objects or Panoramas. The HIDDEN attribute is appropriate for sound-only movies which are hidden in the background.
Note:If you add the HIDDEN attribute, be sure to set AUTOPLAY="TRUE" as well.
Eksempel:
embed src="sample.mov" width="200" height="240" hidden
Til Top
HOTSPOTn="url" (optional)
Ved hjælp af QuickTime VR authoring tools kan du definere nogle HotSpots på din VR Panorama video. n er dit HotSpot ID som defineres når du laver dit HotSpot i programmet hvor du også specificerer URL'en. Target kan bruges til at åbne URL i nyt vindue eller player.
Eksempel:
embed src="sample.mov" width="200" height="240" hotspot17="http://www.apple.com"
Til Top
HREF=url (optional)
med HREF kan du lave et link til en anden side eller video når man klikker på filmen.
Eksempel:
embed src="sample.mov" width="200" height="240" href="http://www.apple.com/quicktime"
Se også : TARGET and TARGET="QUICKTIME PLAYER"
Til Top
KIOSKMODE=value (optional)
KIOSKMODE er enten TRUE eller FALSE. Som standard er KIOSKMODE FALSE. Hvis KIOSKMODE er sat til TRUE, vil den normale pop-up menu ikke blive vist og der er blokeret for Drag and Drop af videoen for at gemme den.
Eksempel:
embed src="sample.mov" width="200" height="240" kioskmode="true"
Til Top
LOOP=value (optional)
LOOP er enten TRUE, FALSE eller PALINDROME. Som standard er LOOP sat til FALSE. Hvis du sætter LOOP til PALINDROME vil filmen spille skiftevis forlæns og baglæns. Denne attribut kan ikke anvendes med QuickTime VR Objects og Panoramas.
Eksempel:
embed src="sample.mov" width="200" height="240" loop="true"
Til Top
MOVIEID=integer (optional)
Just like MovieName, but uses a numeric ID instead of a name string. MovieID may be computed in the Wired Sprite scripts and may be useful where the MovieName of the target movie is not known.
Eksempel:
embed src="sample.mov" width="200" height="240" movieid="5"
Til Top
MOVIENAME=name (optional)
With QuickTime 4.0 the targeting mechanism of wired actions has been extended to enable any action to target an element of another open movie. This means two or more movies within the same web page can communicate using the QuickTime 4.0 Plug-in. These same movies may communicate if they are opened in QuickTime Player if they are named using userdata atoms. For example, one movie can act as a controller for another movie setting things such as it's rate, volume, the pan angle of a QTVR track it contains, or the location of a sprite in a sprite track that it contains. In many cases things that required JavaScript can now be done using only the QuickTime Plug-in with Wired Movies.
Eksempel:
embed src="sample.mov" width="200" height="240" moviename="targetmov"
Til Top
NODE=integer (optional)
Panoreringfilm. Opgives som et heltal. Hvis der ikke denne attribute opgives, benyttes standard NODE and view (den du har indkodet da du lavede din pano-film).
Eksempel:
embed src="sample.mov" width="320" height="240" node="128"
Se også : FOV, PAN, TILT
Til Top
PAN=integer (optional)
The PAN attribute allows you to specify the initial pan angle for a QuickTime VR movie. Only integer values are supplied for this attribute. The range of values for a typical movie would be 0 to 360 degrees. If no value for PAN is specified, the value stored in the movie is used. This attribute has no meaning for a standard QuickTime movie.
Eksempel:
embed src="sample.mov" width="320" height="240" pan="180"
Se også : FOV, NODE, TILT
Til Top
PLAYEVERYFRAME=value (optional)
PLAYEVERYFRAME er enten TRUE eller FALSE. 
Som standard er, PLAYEVERYFRAME sat til FALSE. Hvis  PLAYEVERYFRAME er sat til TRUE vil hver frame afspilles selv om det betyder at hastigheden sættes ned. Denne attribute er især god til simple animationer. Denne attribute er kun til Quick Time film.
Note: PLAYEVERYFRAME=TRUE slukker for alle lydspor.
Eksempel:
embed src="sample.mov" width="200" height="240" playeveryframe="true"
Til Top
PLUGINSPAGE=url (optional)
PLUGINSPAGE attribute giver brugeren mulighed for at hente plug-in hvis det ikke er installeret. Dette styres af browser. Hvis browseren ikke kan finde det rette plug-in vil den advare brugeren og give dem mulighed for at hente det på den opgivne URL.
IMPORTANT: Lad denne URL pege på: "http://www.apple.com/quicktime/download/" som altid indeholder den seneste version af plug-in. 
Eksempel:
embed src="sample.mov" width="200" height="240" pluginspage="http://www.apple.com/quicktime/download/"
Til Top
QTNEXTn="URL" (optional)
QTNEXT can be used to specify the url of a movie to load and play at the end of the current movie. This allows up to 256 consecutive movies to play one after the other. This behaves exactly the same as if the movie has a HREF track with an auto-url ("Aurl") at the end of the movie. Where n is an integer greater than 0 and less than 256 that defines the index of the url in the playlist. A QTNEXT tag's value can be a url (and optional target) or GOTOn where "n" is the index of the QTNEXT url to load. This allows you to make an endlessly repeating playlist.
Note: that the original movie (the SRC attribute) is implicitly QTNEXT0.
Note 2: The target Tmyself is normally specified. If no target is specified, the URL replaces the current browser window, and any subsequent QTNEXT statements are ignored.
Eksempel:
EMBED SRC="nameof.mov" WIDTH="200" HEIGHT="240"
QTNEXT1="http://www.apple.com/quicktime/movies/sample.mov Tmyself"
QTNEXT2="rtsp://www.apple.com/quicktime/movies/sample.mov Tmyself"
QTNEXT3="URL Tmyself"
QTNEXT4="GOTO0"
Se også : TARGET
Til Top
QTSRC="URL" (optional)
This attribute allows content developers to force a browser to use the QuickTime Plug-in for a file no matter what its MIME type is. The attribute treats it's value as a URL to load, and ignores any data loaded by the browser from the "src" parameter.
Eksempel:
EMBED src="sample.mov" qtsrc="rtsp://www.apple.com/quicktime/sample2.mov"
This does not require the file type to be .mov. This can be any media type that QuickTime can read such as:
EMBED src="sample.mov" qtsrc="rtsp://www.apple.com/quicktime/sample.mp3"
Til Top
QTSRCCHOKESPEED (optional)
Using the QTSRCCHOKESPEED attribute gives content developers the ability to specify the datarate of a movie being served regardless of the connection speed an end user has. This may be useful when a particular movie is requested from a server by large volumes of users to eliminate congestion in routers.
Note: When setting the choke speed, you will specify the maximum datarate.
Eksempel:
embed src="sample.mov" width="320" height="240" qtsrcchokespeed=33600
Til Top
QTSRCDONTUSEBROWSER (optional)
QTSRCDONTUSEBROWSER kan sættes til TRUE or FALSE. By default, the behavior is set to FALSE. When set to true, the URL specified in the QTSRC parameter is loaded using QuickTime's internal methods, instead of using the browser to fetch the file. This prevents the browser from caching the file, which speeds access to local movies and can help prevent copying movies over the Web.
Eksempel:
embed src="foo.mov" qtsrc="sample.mov" width="320" height="240" qtsrcdontusebrowser
Til Top
SCALE=value (optional)
SCALE is either TOFIT, ASPECT or a number. By default the value of SCALE is 1. If set to TOFIT, the movie is scaled to fit the embedded box as specified by the HEIGHT and WIDTH attributes. If this is set to ASPECT, the movie will scale to fit the embedded box while maintaining the aspect ratio. If this is set with a number, the movie will be scaled by that number (e.g. 1.5). Note: Using the number scale attribute with a QTVR Panorama movie can degrade the performance of the movie even on high-end systems.
Eksempel:
embed src="sample.mov" width="200" height="240" scale="tofit"
Til Top
SRC=URL (required)
The SRC attribute defines the url to the file for the plugin or helper application to play. The SRC attribute is the most common way to embed the media, except for occasional instances where the TYPE attribute may be necessary.
Eksempel:
embed src="sample.mov" width="200" height="240"
Se også : TYPE
Til Top
STARTTIME=time (optional)
The STARTTIME attribute defines the first frame of the movie. STARTTIME can be any time within the length of the movie. By default, STARTTIME is the first frame of the movie (or 00:00:00). This attribute takes a time value in the form Hours:Minutes:Seconds:Frames (30ths). The frames component can be specified as a fixed point number so that more specific times can be specified for instance 3:30:22.5 means 3 minutes, 30 seconds and 22.5 frames.
Note: For fast start movies, the entire file is still downloaded even if a STARTTIME is specified.
Eksempel:
embed src="sample.mov" width="200" height="240" starttime="00:15:22.5"
Se også : ENDTIME
Til Top
TARGET="QUICKTIMEPLAYER" (optional)
When set, the QuickTime Plug-in will launch QuickTime Player as a helper application (if it is not already running) and opens the url of the movie file. In order for TARGET="QUICKTIMEPLAYER" to work, there needs to be an href attribute in the embed tag which points to the movie file.
Eksempel:
embed src="poster.mov" width="200" height="240" href="sample.mov" target="quicktimeplayer"
Til Top
TARGET="MYSELF" (optional)
When set, the QuickTime Plug-in will replace the movie specified in the SRC parameter with the movie specified in the HREF attribute when a user clicks on the movie. In order for TARGET="MYSELF" to work, there needs to be an HREF attribute in the embed tag pointing to a media type.
Eksempel:
embed src="poster.mov" width="200" height="240" href="sample.mov" target="myself"

Se også : HREF


Til Top
TARGETn="FRAME_NAME" (optional)
TARGET is an optional attribute, used in conjunction with the HOTSPOT or HREF attributes. When set, the TARGET attribute is the name of a valid frame (including _self, _top, _parent, _blank or an explicit frame name) that will be the target of a link specified by the HOTSPOT or HREF attribute. Leaving TARGET unspecified will open the new file in the same place as the current movie.
Eksempel:
HOTSPOT32="http://www.apple.com/quicktime" TARGET32="_blank"
would specify that when hotspot 32 is clicked, the QuickTime home page will load in a new window.
NOTE: It is important to use the same ID# for both the HOTSPOT and TARGET for each URL reference. This ensures that the plug-in knows what HOTSPOT goes with what TARGET.
Til Top
TARGETCACHE=value (optional)
The TARGETCACHE attribute allows content creators to cache the movie the poster movie is targeting.TARGETCACHE is either TRUE or FALSE. By default, TARGETCACHE is FALSE.
Eksempel:
embed src="poster.mov" width="200" height="240" cache="true" href="sample2.mov" TARGET="myself" targetcache="true"
Til Top
TILT=integer (optional)
The TILT attribute allows you to specify the initial tilt angle for a QuickTime VR movie. Only integer values are supplied for this attribute. The range of values for a typical movie would be -42.5 to 42.5 degrees. If no value for TILT is specified, the value stored in the movie is used. This attribute has no meaning for a standard QuickTime movie.
Eksempel:
embed src="sample.mov" width="320" height="240" tilt="20.0"
Se også : FOV, NODE, PAN
Til Top
TYPE="MIMEtype" (optional)
TYPE="MIMEtype" specifies the MIME type of the EMBED file, which in turn determines which plug-in to load. Use the TYPE attribute for a plug-in that requires no data, for example, a plug-in that draws an analog clock or fetches all of its data dynamically. For a visible plug-in, you must include both the WIDTH and HEIGHT attributes if you use TYPE; no default values are used.
Note: The functionality of this attribute is only supported by Netscape Navigator, version 2.0 or later.
Eksempel:
embed src="sample.mov" type="video/quicktime" width="200" height="240"
Til Top
URLSUBSTITUTE="String:SubstituteURL" (optional)
Replaces every instance of String with SubstituteURL inside any HREF tracks, sprite action URLs, or VR hotspot URLs. Both String and SubstituteURL must be surrounded by angle brackets, and the two must be separated by a colon. The value n may be any integer from 1 to 999, and may be omitted if only one URLSUBSTITUTE parameter is specified. Use this parameter to repurpose QuickTime movies with embedded URLs without editing the movies.
Eksempel:
embed src="sample.mov" width="200" height="240" urlsubstitute="samplestring:http://dns/foo.mov"
Til Top
VOLUME=value (optional)
The VOLUME attribute sets the movie's initial audio volume. Only integer values between 0 through 100 are applied for this attribute. By default, VOLUME is set to 100. A setting of 0 effectively mutes the audio whereas a setting of 100 is the maximum volume.
Eksempel:
embed src="sample.mov" width="200" height="240" volume="50"
Til Top
WIDTH=size in pixels (required)
The WIDTH attribute specifies the WIDTH of the embedded file in pixels. The WIDTH of the movie can be found by choosing 'Get Info...' in the 'Movie' menu within QuickTime Player.
Eksempel:
embed src="sample.mov" width="200" height="240"
Se også : HEIGHT
Til Top



OZ1BII