Autor Beitrag
Aya
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Fr 16.05.08 08:09 
Hi,

sagt mal.. wie macht ihr das wenn ihr ein video in eure webseite einbindet mit der größe des Video-objectes?

in HTML wird ein video ja in der Regel via <object>...</object> eingebunden, und dabei muß man den width/height parameter benutzen um die größe vom video festzulegen, allerdings muß da die höhe von den player-steuerknöpfen mit eingerechnet werden..

Also z.B. mein Video ist 640x480 groß und ein WMV.. Der MediaPlayer im browser braucht 72px = ich müßte beim <object>-tag die höhe als 480x72 = 552 definieren.

Soweit ja kein problem... aber was jetzt wenn jemand das video auf z.B. einem Mac anguckt?
Unter OSX ist die steuerleiste bei WMVs nur 20px hoch = die höhe vom <object>-tag ist falsch und dementsprechend ist entweder das video verzerrt oder es hat weiße/schwarze balken...

Hat irgendjemand eine idee oder lösung wie ich das problem umgehen kann?

Aya~

_________________
Aya
I aim for my endless dreams and I know they will come true!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 16.05.08 16:26 
ganz einfach: Codier das Video in ein FLV um. Dann kannst du dir einen Flash-Videoplayer schnappen und das damit abspielen.
Das sieht dann auf allen Systemen gleich aus und der Flash-Player ist weit verbreitet.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Aya Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1964
Erhaltene Danke: 15

MacOSX 10.6.7
Xcode / C++
BeitragVerfasst: Fr 16.05.08 16:29 
user profile iconmatze hat folgendes geschrieben:
ganz einfach: Codier das Video in ein FLV um. Dann kannst du dir einen Flash-Videoplayer schnappen und das damit abspielen.
Das sieht dann auf allen Systemen gleich aus und der Flash-Player ist weit verbreitet.

Klar, bei flv hat man das problem nicht, aber ich biete bei mir immer alle Videos in mehreren formaten an.. :)

_________________
Aya
I aim for my endless dreams and I know they will come true!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 16.05.08 17:41 
das ist ja OK. Ich würde es an deiner Stelle so machen:
Ein Video zum ansehen direkt auf der Website als FLV. Das kann dann auch ein bisschen schlechter von der Qualität sein. Schont nebenbei die Leitung des Users und deinen Traffic.
Und dann bietest du die Video Datei noch zum Download an.

_________________
In the beginning was the word.
And the word was content-type: text/plain.