Author Topic: YouTube.com Player als Bild / as picture  (Read 8505 times)

0 Members and 1 Guest are viewing this topic.

Offline Thunderxp

  • Pre-Newbie
  • Posts: 4
    • View Profile
YouTube.com Player als Bild / as picture
« on: April 14, 2006, 11:45:46 AM »
Hallo ich bin neu hier und hab auch gleich eine Frage :)

Ist es möglich dass ich als Bild url einen Code von YouTube.com einfüge, so dass mir anstatt ein Bild der Videoplayer angezeigt wird? Also das ich in das Feld für die Bild url einen Code einfügen kann. Der Code sieht immer so ungefähr aus:
Code: [Select]
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/Sk_wdAgO6r0"></param><embed src="http://www.youtube.com/v/Sk_wdAgO6r0" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Ich freue mich schon auf Vorschläge ;)

Englisch:
Hallo i'm new here and have just a question.

Is it possible to show a videostream instead of a picture? I will enter a code from youtube.com and there should be the videoplayer instead of a .jpg picture or sth else.

A sample code for such a videoplayer is:
Code: [Select]
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/Sk_wdAgO6r0"></param><embed src="http://www.youtube.com/v/Sk_wdAgO6r0" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
i hope you understand my question :)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: YouTube.com Player als Bild / as picture
« Reply #1 on: April 14, 2006, 02:42:42 PM »
edit templates/<your template>/media/jpg.html
maybe?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Thunderxp

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: YouTube.com Player als Bild / as picture
« Reply #2 on: April 14, 2006, 04:55:13 PM »
Hm the first problem is:

when i try to ad such a video i have to post the code above in the box for the pictures. when i want to submit my new video there comes the error that die filetype is not supportet.

i know that is possible to define new filetypes in the preferences like .xyz but it dont know how to define the code above. :)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: YouTube.com Player als Bild / as picture
« Reply #3 on: April 15, 2006, 02:14:40 AM »
try upload it like this:
http://www.youtube.com/v/Sk_wdAgO6r0?blah.jpg
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Thunderxp

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: YouTube.com Player als Bild / as picture
« Reply #4 on: April 15, 2006, 09:59:56 AM »
Hm no doesnt work.

There must be a possiblity to enter the code i posted above.

But when i enter the code in the box Picture-URL there comes a error (filetype not supportet or sth like that).

Here a screenshot:


You can see that it works but i am not able to save it because of the error msg.

Offline Thunderxp

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: YouTube.com Player als Bild / as picture
« Reply #5 on: April 18, 2006, 04:55:35 PM »
nobody an idea? i think there should be a solution but i have no knowlege in php.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: YouTube.com Player als Bild / as picture
« Reply #6 on: April 19, 2006, 02:20:06 AM »
Hm no doesnt work.
It worked for me on fresh v1.7, v1.7.1 and v1.7.2
you must have altered some code in includes/functions.php then
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline megalomania

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: YouTube.com Player als Bild / as picture
« Reply #7 on: May 16, 2006, 07:22:59 PM »
hello there, V@no,
hello there, Thunderxp,

for me it doen't work either.  :cry:

Although the youtube-video link can be entered and the video shows when u try to upload, there occurs an error which tells (as it can be seen in Thunderxps screenshot):

Please recheck the marked fields.
NOTE: In case the thumbnail file name does not correspond with the image file name it will be adapted to the image file name.

(Bitte überprüfen Sie die markierten Felder.
ACHTUNG: Hat die Thumbnail-Datei nicht den gleichen Namen wie die Bilddatei, wird der Name der Thumbnail-Datei angepasst.)

Apart from I never entered a thumbnail, there comes the question to my mind what the thumbnail filename should be like, if I only enter this object-link from e.g. youtube.com.

 :oops: maybee i am dumb, but i can't see the problem...


(additional information: i used the fresh german 1.72 version)