Autor Beitrag
Zlatan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Mo 21.03.11 17:55 
Welche Voraussetzungen gibt es und vor allem durch welchen Quelltext kann ich per Click ein Video abspielen (welche komponente wird gebraucht?)

Grüße , Zlatan
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 21.03.11 18:00 
Keine, abspielen geht mit WindowsMediaPlayer1.openPlayer('d:\xyz.avi'); (die Windows Media Player Komponente importieren reicht).

// EDIT:
korrigiert... openPlayer statt launchURL


Zuletzt bearbeitet von jaenicke am Mo 21.03.11 18:08, insgesamt 1-mal bearbeitet

Für diesen Beitrag haben gedankt: Zlatan
Zlatan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Mo 21.03.11 18:03 
ok, danke,
aber was ist das da in der klammer?
Muss ich da einfach den dateinamen kopieren und einf..

Außerdem ist die vorraussetzung, dass ich das video gespeichert habe ich kann also nicht eins aus dem internet nehmen?

[(kannst du dir auch mal bei freeware projekte das thema "ideen?" anschauen?)]
sorry das musste jetzt sein sorry :puke:


Zuletzt bearbeitet von Zlatan am Mo 21.03.11 18:06, insgesamt 1-mal bearbeitet
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6393
Erhaltene Danke: 147

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 21.03.11 18:04 
user profile iconZlatan hat folgendes geschrieben Zum zitierten Posting springen:
...ich kann also nicht eins aus dem internet nehmen?

Was sagt dir der Befehl "launchURL" vom MediaPlayer?
Zlatan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Mo 21.03.11 18:06 
nix, sollte er das?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 21.03.11 18:07 
Ich sehe gerade, dass dieser (dachte ich^^) offensichtliche Befehl etwas anderes macht, richtig ist openPlayer. Aber das hast du ja mittlerweile sicher auch schon in der Dokumentation nachgelesen... :roll:
msdn.microsoft.com/e...562450(v=VS.85).aspx

Für diesen Beitrag haben gedankt: Zlatan
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6393
Erhaltene Danke: 147

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mo 21.03.11 18:08 
user profile iconZlatan hat folgendes geschrieben Zum zitierten Posting springen:
nix
:bawling:
URL ist die Adresse im Internet.
Ansonsten einfach mal ausprobieren. Geht vermutlich auch mit openPlayer.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 21.03.11 18:26 
Richtig:
Zitat:
Parameters

bstrURL
The System.String that is the URL of the media item to play.