4images Forum & Community
International => Español / Castellano => Topic started by: jaimecb on July 02, 2006, 10:35:33 PM
-
Buenas a todos, buscando por ahi he terminado de completar una modificacion para poder integrar los videos de Google Video y de YouTube en 4images:
Archivos a modificar:
template/details.html
includes/db_field_definitions.php
Tambien se ha de modificar la Base de Datos. http://www.4homepages.de/forum/index.php?action=dlattach;topic=13557.0;id=909
-----------------------
Empezamos con la base de datos:
Subimos video_install.php al raiz de la web y lo ejecutamos http://yoursite/video_install.php
Vamos ahora con los archivos:
Abrimos db_field_definitions.php:
y al final añadimos: (antes de ?> )
$additional_image_fields['google_id'] = array($lang['google_video'], "text", 0);
$additional_image_fields['youtube_id'] = array($lang['youtube_video'], "text", 0);
Abrimos details.html
Detras de {image} añadimos
{if google_id}
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={google_id}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392"></embed></object>
{endif youtube_id}
en lang/spanish/main.php añadimos al final:
$lang['google_video'] = "Google ID";
$lang['youtube_video'] = "YouTube ID";
------------------------------
Funcionamiento:
- Vamos a agregar una imagen en el panel de control
- En el campo imagen subiremos esta imagen: http://www.misimagenes.net/data/media/19/google_video.gif
- En el Campo Thumbail añadiremos esta imagen: http://www.misimagenes.net/www/data/thumbnails/19/google_video_4.jpg
- Rellenamos todo normalmente y abajo veremos DOS campos nuevos
- Dependiendo de si el video esta alojado en GOOGLE o esta en YOUTUBE deberemos rellanar uno u otro campo, y ke ponemos?? pues lo vemos con un ejemplo:
Imaginemos ke estamos en YouTube viendo este video http://www.youtube.com/watch?v=Ge0B4ZR2B-o&search=concierto%20los%2040 pues tendremos ke añadir TODO LO KE VA DETRAS DEL = HASTA el &, es decir Ge0B4ZR2B-o, en GOOGLE sera exactamente igual, deberemos añadir el ID del video (pero el en campo de Google
De esta manera obtendremos estos resultados http://www.misimagenes.net/details.php?image_id=992
He añadido los archivos IMAGEN y THUMBAIL como Attachs, para mayor facilidad
Saludos y espero que os parezca interesante esta modificacion. (siento ser un poco complicado explicandome)
www.misimagenes.net
-------------------------------------------------------------------------------------------
Good to all, looking for that way I have finished completing a modification to be able to integrate the videos of Google Video and YouTube in 4images:
Archives to modify:
template/details.html
includes/db_field_definitions.php
Also it is had to modify Base de Datos. http://www.4homepages.de/forum/index.php?action=dlattach;topic=13557.0;id=909
-----------------------
We began with the data base:
Upload video_install.php to your web site, and execute it. http://yoursite/video_install.php
We go now with the archives:
We opened db_field_definitions.php:
and in the end we add before ?>
$additional_image_fields['google_id'] = array($lang['google_video'], "text", 0);
$additional_image_fields['youtube_id'] = array($lang['youtube_video'], "text", 0);
We opened details.html
Behind {image} we added
{if google_id}
<embed style="width:400px; height:326px; "id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId= {google_id}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
{endif youtube_id}
in lang/YOUR_LANGUAJE/main.php we added in the end:
$lang['google_video']="Google ID";
$lang ['youtube_video']="YouTube ID";
------------------------------
Operation:
- We are going to add an image in the Control Panel
- In the field image we will raise this image: http://www.misimagenes.net/data/media/19/google_video.gif
- In the Thumbail Field we will add this image: http://www.misimagenes.net/www/data/thumbnails/19/google_video_4.jpg
- We filled up everything normally and down we will see TWO new fields
- Depending on if the video this lodged in GOOGLE or this in YOUTUBE we will have to fill one or another field, and ke we put? then we see it with an example:
Let us imagine ke we are in YouTube seeing this http://www.youtube.com/watch?v=Ge0B4ZR2B-o&search=concierto%20los%2040 video because we will have ke to add ALL the KE GOES BEHIND = UNTIL &, that is to say, Ge0B4ZR2B-o, in exactly equal sera GOOGLE, we will have to add ID of the video but in field of Google
This way we will obtain these http://www.misimagenes.net/details.php?image_id=992 results
I have added to the archives IMAGE and THUMBAIL like Attachs, for greater facility
Greetings and I hope that this modification seems to you interesting. (I feel to be a little complicated explicandome)
www.misimagenes.net
-
Buen MOD.
Muchas gracias por tu aporte jaimecb. :D
Recuerda añadirlo en la lista (http://www.4homepages.de/forum/index.php?topic=8246.0)
-
Would you be so kind and translate it in ENGLISH :roll:
-
hola
como es que puedo pasarlo para mirarlo en la galeria, como poner las urls
http://www.youtube.com/watch?v=flkBxZwtuLA
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/flkBxZwtuLA"></param><embed src="http://www.youtube.com/v/flkBxZwtuLA" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
gracias
-
english please!!! I really would like this!
thank you.
-
english please!!! I really would like this!
http://babelfish.altavista.com/babelfish/urltrurl?lp=es_en&url=http://www.4homepages.de/forum/index.php?topic=13557.0
http://translate.google.com/translate?hl=en&u=http://www.4homepages.de/forum/index.php?topic=13557.0
P.S. use these links only as reference for the instructions, the code itself should be used from this original page!
-
template/details.php
you mean details.html!???
I don´t see the video on details page, only the link and source code of embed, datafields added and db_field_definitions are okay *I think*
PLZ help me :(
Edit: Ok I´ve have forgotten, there is only to set the ID! this videos are not counted from 4images? What about the downloadbutton, filesize, klicks?
-
entonces nadie sabe
como es que puedo hacer, para que los videos se miren en otra parte , es decir, poder insertar un promo o demo, en la galeria pagina principal,
en cualquier reproductor
gracias
-
cant find {image} in details.php
does it care where to post or can i post it on any line i want to?
-
it´s details.html
-
yeah
i found out later by myself
i might be very tired, working all the night
thanks very much of answering to my problem
:D
aussum mod; it works properly with youtube
it works with youtube but unfortunately i cant get it work with googlevideo :cry:
i want
http://video.google.com/videoplay?docid=520525968651833317
to insert id (520525968651833317), after upload i can see googleskin but no video
is it possoble, that your googlevideo does not work ,too?
check it out
http://www.misimagenes.net/details.php?image_id=984&sessionid=75298de6248c5c62d6ba7d0a1a0f8018
-
got answered
-
i get this errror
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_image' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home3/mehsus/public_html/includes/db_mysql.php on line 116
-
1) you get error WHERE?
2) If you do more then its instructed in the instructions, then you are on your own ;)
There is no changes needed in the mysql queries, so why would you get that error - I have no clue...
-
i have done as it said on the thing i get it on the home page on top of it i dont know why
-
Then, I guess its some other modifications you've made to the code...this not supposed to happend without altering the code..
There are no " supposed to present in the fields name...
-
Hola, quien podria ayudarme a hacer una especie de instalador ue modificase la base de datos, para evitar añadir los dos campos a la base de datos de forma manual?? asi seria menos complicada la instalacion del mod...
Gracias
-
Hola, quien podria ayudarme a hacer una especie de instalador ue modificase la base de datos, para evitar añadir los dos campos a la base de datos de forma manual?? asi seria menos complicada la instalacion del mod...
Gracias
sorry bro i dont understand that lang can u tell me in english please
-
Saludos,,,
Sube este script al directorio raiz de tu galería y lo nombras como install_google_youtube.php y lo ejecutas,,, recuerda que antes de ejecutarlo tienes que hacer una copia de seguridad de la base de datos por si algo fallara,,,:
<?php
error_reporting(E_ALL);
define('ROOT_PATH', './');
include(ROOT_PATH.'config.php');
include(ROOT_PATH.'includes/constants.php');
include(ROOT_PATH.'includes/db_mysql.php');
$site_db = new Db($db_host, $db_user, $db_password, $db_name);
$sql = 'ALTER TABLE `'.IMAGES_TABLE.'` ADD `google_id` VARCHAR( 255 ) NULL';
$sql2 = 'ALTER TABLE `'.IMAGES_TABLE.'` ADD `youtube_id` VARCHAR( 255 ) NULL';
$site_db->query($sql);
$site_db->query($sql2);
echo "<br /><br /><br /><center><b>ADDED FIELD <font color=\"#FF9900\">google_id y youtube_id </font> TO TABLE: <font color=\"#FF9900\">".IMAGES_TABLE." </font>OK</b><BR>YOU CAN DELETE <b>INSTALL_GOOGLE_YOUTUBE.PHP</b> NOW</center>";
echo "<br /><br /><center><b>SE AÑADIÓ <font color=\"#FF9900\">google_id y youtube_id </font> A LA TABLA: <font color=\"#FF9900\">".IMAGES_TABLE." </font>CORRECTAMENTE :)</b><BR>PUEDES BORRAR <b>INSTALL_INSTALL_GOOGLE_YOUTUBE.PHP</b> AHORA</center>";
?>
excitex2
-
can someone explain me this in english please
-
use transliting tool !!
-
k i think i added all this and now what should i do how should i stream youtube movies ? should i just paste the link or how ? can someone tell me please
-
Muchas Gracias excitex2 !!
-
k i think i added all this and now what should i do how should i stream youtube movies ? should i just paste the link or how ? can someone tell me please
http://www.4homepages.de/forum/index.php?topic=13557.msg72964#msg72964
-
thank you works grate
http://www.levikay.com/gallery/details.php?image_id=19368
:D
-
can u tell me how did u make it work
-
Saludos,,,
http://www.4homepages.de/forum/index.php?topic=13557.msg72964#msg72964
excitex2
-
Hey,
Great mod now admin can add google and youtube but what if I would like my users to be able to that. I tried add google video as a user and there are no fields with Google ID,YouTube ID.
-
Wow, this is a great MOD. Will 4 images be able to add this/integrate it to a new update? This would be so powerful a module for everyone.
Also, wonder if this is another alternative ... that we can use the "Description" field to put in the CODE for the embedded video ... will this work? Think it works for HTML but not sure if can actually put any script in description.
-
ok.. ahora un poco mas alla... como se podria poner en index un video aleatorio??? al igual ke las imagenes aleatorias.. pero solo videos de google.. o youtube??
gracias!!! (ay si supiera programar mejor)
-
Everything works but when I want to upload for example thumbnail and i add Youtube code i get error like this
"Warning: move_uploaded_file(./../data/media/2/blank.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/jajex/public_html/test/includes/upload.php on line 117
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpMmTjgV' to './../data/media/2/blank.jpg' in /home/jajex/public_html/test/includes/upload.php on line 117"
Any idea?
-
upload imagen.gif andd thumbail.jpg to your root site
and put this..
(http://www.misimagenes.net/otros/imagen.jpg)
-
Everything works but when I want to upload for example thumbnail and i add Youtube code i get error like this
Any idea?
FAQ. its not related to this mod at all.
-
ok.. ahora un poco mas alla... como se podria poner en index un video aleatorio??? al igual ke las imagenes aleatorias.. pero solo videos de google.. o youtube??
gracias!!! (ay si supiera programar mejor)
-
What should i do with member_uploadform.html to add google and youtube fileds?
-
Muchas gracias, funciona a la perfeccion
==================
http://www.solotattoos.net
-
What should i do with member_uploadform.html to add google and youtube fileds?
-
What should i do with member_uploadform.html to add google and youtube fileds?
Eso, como podemos poner para que el usuario suba directamente?
-
:D nhe estado mirando pero yo no tengo ni idea.. ademas.. habeis pensado si un usuario sabra como se sube un video.. teniendo en cuenta. ke no hay ke poner nombre de imagen... el thumbail para ke sea una imagen concreta... etc etc?? supongo ke se podria hacer.. pero habria ke añadir un tutorial para el usuario..
-
ya so the user can add a video ( guest or a member)
-
Instale todo, no se porque razon puedo ver el player de google pero no toca el video y aparte sale el link completo abajo del player.
Puedes verlo en el siguiente link: http://onegreenspider.com/gallery/details.php?image_id=16
¿Hay algo que se me pasó hacer?
Saludos
Erix
-
comprueba haber segido TODOS los pasos y de manera CORRECTA
por ke el video es de YOUTUBE, sin embargo te aparece el reproductor de googlevideo... comprueba todos los pasos!!
-
i get this errror
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_image' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home3/mehsus/public_html/includes/db_mysql.php on line 116
I get the same error and the same Warning.. Why is that?
-
Saludos,,,
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.“google_id”, i.“youtube_id” , c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_image' at line 1
Rectifica la nombre de los campo que has instalado en tu base de datos,, estan con comillas y tienen que estar sin
excitex2
-
What do you mean?
I translated it in google, made no sense.. Is my DB misplaced?
-
Does anyone else know ?
-
Can anyone help? Why do I get this error when doing all the steps rigth?
i get this errror
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, i.“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_images i, 4images_categories c) LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '“google_id”, i.“youtube_id”, c.cat_name, u.user_name FROM (4images_image' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home3/mehsus/public_html/includes/db_mysql.php on line 116
-
I just added the file instal_video.php, how do you execute it? it loads properly, I did not edit it but the Database gave an error.
-
Greetings,,,
The error that it gives you is because in your data base the field google_id and the field youtube_id you have "" in inverted commas.
This is bad : “google_id” “youtube_id”
This is well : google_id youtube_id
Not if you will understand to me, use a translator of the network.
excitex2
-
My you tube works fine but google dont work does anyone know why ?
-
i found the bug why the google video wasnt working it had a extra space in the code thats why it wasnt working if someone else is having the same issue here is the thing
[qcode]{if google_id}
<embed style="width:400px; height:326px; "id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={google_id}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
{endif youtube_id}[/qcode]
-
is it possible when we click on download when the video is streaming the flv file should start downloading ?
-
8) cool
-
Hi i wonder if someone can help us adding the yahoo video to this mod as well...
-
Esto es en Español no mezclen los idiomas me vuelvo loco!!!... :?
Ya tengo instalado el MOD y funciona de maravilla, ahora ando buscando como integrar los campos YouTube y Google para el formulario "Upload", que los usuarios suban directamente los link de youtube o google, como se haria eso? (yo admin lo puedo hacer desde el panel de control, pero no los usuarios visitantes)
Saludos y gracias
TheOlbap
-
hola exelente mod pero reemplase este codigo en los templates de postcard [qcode]{image}[/qcode] por
[qcode]{if google_id}
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={google_id}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392"></embed></object>
{endif youtube_id}[/qcode]
pero me sale en blanco los 2 reproductores vacios espero me puedan ayudar
-
Ouch.
Any translations?
-
i have a question like the video plays in a small box can we also put a link rite on our website to view the video in full screen rite from our website instead of going to youtube ?
-
can anyone help in this ?
-
i have a problem with the mod.
i used a pic, and thumbpic, name and place a link into the youtube field. the upload is fine. now i would like to test, but i only see the pic and no video, under the pic i have the following error.
http://www.youtube.com/watch?v=xxxxxx “>http://www.youtube.com/watch?v=xxxxxxxx” type= " application/x-shockwave-flash " width= " 476 " height= " 392 " >
under the pic is some white space, i think here should normaly be the video.
the same is with googlevideo. i used IE7 and firefox.
what is wrong?
http://hoelzlmani.uttx.net/hoelzlmanfred/4images/details.php?image_id=2
PS: i see now the google video, but i can´t play, only the window is here, youtube is only a white field.
-
yo lo he instalado. esta todo perfecto el unico defecto creo que me alento la pagina no se si sea el mod de youtube & google :S !!!... pero bueno !! saludos =) :P www.eresneta.com
-
hi resmili can u tell me what language the instruction is in on ur page
-
hola exelente mod pero reemplase este codigo en los templates de postcard
pero me sale en blanco los 2 reproductores vacios espero me puedan ayudar
Hello,
If i understood correctly we have problems in showing $additional_image_fields on postcards.php.
could somebody try to fix this?
I`m trying with no succes yet.
Great mod.
Thanks
-
Great MOD! Thanks!
Works perfectly for me with Version: 1.7.4!
But I would Like to know how to add these Fields in the member_uploadform.html to make it possible for Users to add eg. youtube.com videos.
Thanks
-
hi guys
im having some prob here...
i alredi edit the file and code
but i cant see any buttons or place to add the you tube link.... guide me.. in english pls
-
Hey so no one knows how to get users to add the videos??
-
BEISPIEL/EXAMPLE/EJEMPLO http://www.party2k.de/details.php?image_id=11408
====================================
Ich habe immernoch Probleme mit der Mod. Es funktioniert einfach nicht das ich den youtube Player sehe, da ist einfach nur ein weißes Kästchen. Wenn ich bei Opera den Quelltext anzeigen lasse bekomme ich vorne und hinten ein Leerzeichen
also value="http://www.youtube.com/v/ rKbJZIYwS4s "
also gibt es 2 leerzeichen die das alles verhindern... aber wo kommen sie her?
in der datenbank is die youtube id korrekt eingetragen
das ist der code den ich in der details.html benutze
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param>
<embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
</div>
<div align="center">
</div>
<div align="center">
{endif youtube_id}
---------------------------------------------------------------------------------------------------------------------
i still have problems with this mod. there is just no youtube player, only a white square can be seen. if opera displays me the source code of the side that has been rendered, there are two space characters which prevent the correct video.
value="http://www.youtube.com/v/ rKbJZIYwS4s "
so there are two additional space characters? where do they come from?
if i control my database with php my admin the are no space characters, everything is correct
this is the code i'm using in details.html
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param>
<embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
</div>
<div align="center">
</div>
<div align="center">
{endif youtube_id}
--------------------------------------------------------------------------------------------------------------------------
todavía tengo problemas con este mod. el player de youtube no aparece aqui. solo veo un rectángulo blanco. if opera indicar texto fuente tengo dos carácteres en blanco. estos carácteres causan los problemas.
value="http://www.youtube.com/v/ rKbJZIYwS4s "
en el base de datos no están los carácteres blancos y todo es corecto.
porque aperarecen estos sustitutos ? esto es mi code de details.html
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param>
<embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
</div>
<div align="center">
</div>
<div align="center">
{endif youtube_id}
-
Youtube works perfectly well! However google video doesn't. :(
-
¿Cómo se le puede añadir un borde tanto a los videos de google como de youtube?. Gracias.
-
¿Alguién puede ayudarme a añadir un borde a los vídeos de google y youtube?. Saludos.
-
Hi guys,
I red the forum may be 1000 times but I can not figure it out how to do it for dailymotion. Can someone please help me? The thing is that I have already installed this mod but now I need to add dailymotion as well. As far as I know the problem is in video_install.php which I need to change. :(
Thx to everybody
-
alguien ah podido saber el porq ya no funciona el player para los videos de google?!?!?!?!
yo lo tengo funcionando a la perfeccion con you tube pero con los de google ya no es posible
-
wow everything works gr8 but can someone tell me how can i put an filed of youtube and google thingy on member upload form as well
-
add this code on member_uploadform.html to allow users upload videos
<tr>
<td class="row2"><b>{lang_youtube_id}</b></td>
<td class="row2"><input type="text" name="youtube_id" size="30" value="{youtube_id}" class="input" /></td>
</tr>
-
Wow superb hey and can u also help me modifyin the code so we can add http://www.dailymotion.com videos as well
-
... for videos from YouTube.com, MyVideo.de, DailyMotion.com a.s.o. you can also try this ...
http://www.4homepages.de/forum/index.php?topic=18503.msg99264#msg99264
-
por si a alguien le interesa lo que hise yo para que los usuarios puedan subir videos desde el fronted sin problemas ni tener que subir imagenes , lo que hise yo fue dejar el [mod] multiupload (http://www.4homepages.de/forum/index.php?topic=8517.0) para subir imagenes y el upload tradicional lo transforme para subir solo videos.
en fin en lo que hay que modificar en el archivo member_uploadform.html remplazan todo por:
<style type="text/css">
<!--
.Estilo1 {
color: #ffffff;
font-size: 0px;
text-decoration: none;
background-color: #FFFFFF;
background: #FFFFFF;
background-repeat: no-repeat;
word-spacing: normal;
letter-spacing: normal;
border: 0;
border-top-color: #FFFFFF;
border-right-color: #FFFFFF;
border-bottom-color: #FFFFFF;
border-left-color: #FFFFFF;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top: 0;
border-right: 0;
border-bottom: 0;
border-left: 0;
border-color: #CCCCCC;
outline-color: #FFFFFF;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding: 0;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
min-width: 0px;
max-width: 0px;
min-height: 0px;
max-height: 0px;
margin: 0;
clear: 0;
height: 0px;
float: 0;
width: 0px;
outline: 0;
outline-width: 0px;
outline-style: 0;
border-width: 0;
border-style: 0;
}
-->
</style>
<form method="post" action="{url_member}" enctype="multipart/form-data" onsubmit="uploadbutton.disabled=true;">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="top" class="head1">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="head1">Enviar Video</td>
</tr>
<tr>
<td class="row1"><b>{lang_category}</b></td>
<td class="row1">{cat_name}</td>
</tr>
<tr>
<td class="row2" valign="top"><b>{lang_youtube_id}</b><br /></td>
<td class="row2"><input type="text" name="youtube_id" size="30" value="{youtube_id}" class="input" /></td>
</tr>
<tr>
<td class="row1"><b>Nombre del Video:</b></td>
<td class="row1">
<input type="text" name="image_name" size="30" value="{image_name}" class="input" /></td>
</tr>
<tr>
<td class="row2" valign="top"><b>{lang_description}</b></td>
<td class="row2">
<textarea name="image_description" cols="30" class="textarea" rows="5" wrap="VIRTUAL">{image_description}</textarea> </td>
</tr>
<tr>
<td class="row1" valign="top"><b>{lang_keywords}</b></td>
<td class="row1">
<textarea cols="30" class="textarea" rows="5" wrap="VIRTUAL" name="image_keywords">{image_keywords}</textarea> </td>
</tr>
{if captcha_upload}
{endif captcha_upload}
</table>
</td>
</tr>
</table>
<input type="hidden" name="action" value="uploadimage" />
<input type="hidden" name="cat_id" value="{cat_id}" />
<span class="row2">
<input type="hidden" name="remote_media_file" size="30" value="URL DE LA IMAGEN QUE SUBEN POR EL VIDEO" class="input" />
</span> <span class="row1">
<input type="hidden" name="remote_thumb_file" size="30" value="URL DE LA IMAGEN QUE USARAN DE THUMBAILS PARA SUS VIDEOS" class="input" />
</span>
<p align="center">
<span class="row2">
<input name="media_file" type="file" class="Estilo1" size="0" maxlength="0"/>
</span>
<input type="submit" name="uploadbutton" value="{lang_submit}" class="button" />
<input type="reset" value="{lang_reset}" class="button" />
</p>
</form>
OJO DE CAMBIAR LOS PARAMETROS EN ROJO POR LOS SUYOS
asi sus usuariso podran subir sus videos desde el fronted sin preocuparse por subir una imagen especial o por el thumbails.
PD: la imagen para el boton de subir videos deben llamarse upload.gif y upload_off.gif, mientras que para el upload comun multiupload.gif y multiupload_off.gif
-
hi
it is work fine
how can i uninstall it if wanna that?? :oops:
-
is there any way to uninstall it
if there is problem or if i wanna delete it. :?: :?:
..................................................
¿Hay alguna forma de desinstalarlo
Si hay algún problema o si desea eliminar i
-
hi again
can some one tell me how to activate the real download button
ie: i want to download the vidio when i press download button
bec now when i prees download , i get only the pic thunbail.gif
any idea please?
-
Este mod vale también para insertar reproductores del goear en la galeria colocando el código del goear en el campo descripción?
-
Is there any way of generating thumbnails from the streams? This is the only thing missing from this great mod.
-
I have allowed html and installed this mod. How Can I allow youtube to be posted in comments? I installed the news mod which uses comments as site news and would like my site news to come from a vidblog which uses youtube vids....
Thanks for any help.
-
Hi, i just install this MOD, using 4images 1.7.7 on localhost, i m just using it for youtube, every thisng is fine but when click on any video thumbnail to play video its always playing the first added video from youtube, suppose i have images with youtube videos having IDs " 15 , 16 17 and so on, its always playing the video from ID 15 even.i played with things but no luck, any solution?
-
hey broz..........i still have this problem.... Help plz
i cant see any video player for youtube...... y?
i have uploaded the video...but :?
i see this:
xxx: xxx: youtubexxx: /watch?v=i8jCWpXsI64"> xxx: xxx: youtubexxx: /watch?v=i8jCWpXsI64" type="application/x-shockwave-flash" width="476" height="392" >
-
How can I add this kinda script on my website : xxx: net2funxxx: , as I am already having a fantastic script for videos.
-
thanks a lot
work fine