4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Thunderxp on April 14, 2006, 11:45:46 AM

Title: YouTube.com Player als Bild / as picture
Post by: Thunderxp 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 :)
Title: Re: YouTube.com Player als Bild / as picture
Post by: V@no on April 14, 2006, 02:42:42 PM
edit templates/<your template>/media/jpg.html
maybe?
Title: Re: YouTube.com Player als Bild / as picture
Post by: Thunderxp 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. :)
Title: Re: YouTube.com Player als Bild / as picture
Post by: V@no on April 15, 2006, 02:14:40 AM
try upload it like this:
http://www.youtube.com/v/Sk_wdAgO6r0?blah.jpg
Title: Re: YouTube.com Player als Bild / as picture
Post by: Thunderxp 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:
(http://img92.imageshack.us/img92/1610/youtube7it.th.jpg) (http://img92.imageshack.us/my.php?image=youtube7it.jpg)

You can see that it works but i am not able to save it because of the error msg.
Title: Re: YouTube.com Player als Bild / as picture
Post by: Thunderxp 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.
Title: Re: YouTube.com Player als Bild / as picture
Post by: V@no 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
Title: Re: YouTube.com Player als Bild / as picture
Post by: megalomania 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)