4images Forum & Community

International => Español / Castellano => Topic started by: jaimecb on July 02, 2006, 10:35:33 PM

Title: [MOD] Integrar Google VIDEO y YouTube
Post 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 ?> )

Code: [Select]
$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

Code: [Select]
{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:

Code: [Select]
$lang['google_video'] = "Google ID";
$lang['youtube_video'] = "YouTube ID";

------------------------------
Funcionamiento:

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 ?>
Code: [Select]
$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
Code: [Select]
{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:

Code: [Select]
$lang['google_video']="Google ID";
$lang ['youtube_video']="YouTube ID";

------------------------------
Operation:

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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: benzo on July 04, 2006, 09:47:48 AM
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)

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: vodkame on July 21, 2006, 04:04:49 PM
Would you be so kind and translate it in ENGLISH  :roll:

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: masterred on July 22, 2006, 12:28:36 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: adizlaja on July 22, 2006, 07:24:00 AM
english please!!! I really would like this!

thank you.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: V@no on July 22, 2006, 07:37:21 AM
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!
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: Flo2005 on July 23, 2006, 02:35:06 PM
Quote
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?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: masterred on July 24, 2006, 09:28:14 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tdkpaul on July 29, 2006, 12:00:45 AM
cant find {image} in details.php
does it care where to post or can i post it on any line i want to?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on July 29, 2006, 10:37:30 PM
it´s details.html
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tdkpaul on July 29, 2006, 10:48:26 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tdkpaul on July 30, 2006, 12:15:11 AM
got answered
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 21, 2006, 05:13:31 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: V@no on August 21, 2006, 05:43:44 AM
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...
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 21, 2006, 05:51:44 AM
i have done as it said on the thing i get it on the home page on top of it i dont know why
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: V@no on August 21, 2006, 06:17:44 AM
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...
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on August 21, 2006, 12:54:40 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 22, 2006, 01:02:58 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: excitex2 on August 22, 2006, 02:54:48 AM
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,,,:

Code: [Select]
<?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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 22, 2006, 03:18:26 AM
can someone explain me this in english please
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tdkpaul on August 22, 2006, 08:02:27 PM
use transliting tool !!
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 22, 2006, 11:29:43 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on August 22, 2006, 11:31:22 PM
Muchas Gracias excitex2 !!
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tdkpaul on August 24, 2006, 09:01:43 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: sharangan on August 24, 2006, 09:14:03 PM
thank you works grate
http://www.levikay.com/gallery/details.php?image_id=19368

 :D
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 24, 2006, 11:43:56 PM
can u tell me how did u make it work
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: excitex2 on August 24, 2006, 11:57:53 PM
Saludos,,,

http://www.4homepages.de/forum/index.php?topic=13557.msg72964#msg72964

excitex2
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jackald on September 12, 2006, 02:32:28 PM
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.
   

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: danceScape on September 12, 2006, 04:09:53 PM
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.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on September 12, 2006, 06:15:12 PM
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)
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jackald on September 12, 2006, 06:46:48 PM
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?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on September 12, 2006, 06:55:56 PM
upload imagen.gif andd thumbail.jpg to your root site

and put this..

(http://www.misimagenes.net/otros/imagen.jpg)
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: V@no on September 13, 2006, 01:16:59 AM
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.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on September 14, 2006, 02:51:32 AM
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)
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jackald on September 15, 2006, 12:07:09 AM
What should i do with member_uploadform.html to add google and youtube fileds?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: KaKo_83 on September 28, 2006, 03:46:46 AM
Muchas gracias, funciona a la perfeccion

==================
http://www.solotattoos.net
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: sharangan on October 01, 2006, 09:24:39 PM
What should i do with member_uploadform.html to add google and youtube fileds?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: theolbap on October 05, 2006, 12:27:37 AM
What should i do with member_uploadform.html to add google and youtube fileds?

Eso, como podemos poner para que el usuario suba directamente?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on October 05, 2006, 12:32:09 AM
: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..
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: sharangan on October 05, 2006, 10:10:23 PM
ya so the user can add a video ( guest or a member)

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: erixlinux on October 06, 2006, 09:20:21 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: jaimecb on October 07, 2006, 11:51:10 AM
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!!
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on October 18, 2006, 04:01:49 PM
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?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: excitex2 on October 18, 2006, 08:44:57 PM
Saludos,,,

Quote
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on October 18, 2006, 08:56:49 PM
What do you mean?

I translated it in google, made no sense.. Is my DB misplaced?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on October 19, 2006, 04:45:42 PM
Does anyone else know ?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on October 20, 2006, 03:15:17 PM
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

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on October 20, 2006, 03:26:42 PM
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.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: excitex2 on October 21, 2006, 12:22:12 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on October 28, 2006, 01:11:45 PM
My you tube works fine but google dont work does anyone know why ?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on October 29, 2006, 04:12:38 AM
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]
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on November 03, 2006, 05:44:38 PM
is it possible when we click on download when the video is streaming the flv file should start downloading ?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: egyptsons on November 04, 2006, 12:41:00 AM
 8) cool
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on November 06, 2006, 04:51:17 AM
Hi i wonder if someone can help us adding the yahoo video to this mod as well...
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: theolbap on November 24, 2006, 10:59:53 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: diabolik on November 26, 2006, 05:09:07 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: alsunna on November 28, 2006, 07:15:09 PM
Ouch.

Any translations?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on December 22, 2006, 05:02:32 PM
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 ?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on December 26, 2006, 03:34:43 AM
can anyone help in this ?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: hoelzlmani on January 07, 2007, 09:22:12 PM
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.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: nand0x on January 08, 2007, 12:05:29 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on February 05, 2007, 10:14:45 AM
hi resmili can u tell me what language the instruction is in on ur page
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: bunelul on February 05, 2007, 04:21:30 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: FunnyUser on February 15, 2007, 11:41:41 AM
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

Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: raaja4u on February 25, 2007, 12:45:57 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: sharangan on March 10, 2007, 04:58:44 PM
Hey so no one knows how to get users to add the videos??
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: tasse on March 24, 2007, 10:44:42 PM

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

Code: [Select]
{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">
                  &nbsp;</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

Code: [Select]
{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">
                  &nbsp;</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 

Code: [Select]
{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">
                  &nbsp;</div>
<div align="center">
{endif youtube_id}
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: hyde101 on June 15, 2007, 04:42:17 PM
Youtube works perfectly well! However google video doesn't. :(
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: holas on June 24, 2007, 07:54:41 PM
¿Cómo se le puede añadir un borde tanto a los videos de google como de youtube?. Gracias.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: holas on June 26, 2007, 09:33:49 AM
¿Alguién puede ayudarme a añadir un borde a los vídeos de google y youtube?. Saludos.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: popeslav on June 27, 2007, 06:31:23 PM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: live@ct on June 29, 2007, 11:21:36 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on July 25, 2007, 08:51:43 AM
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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: ascanio on August 24, 2007, 09:34:40 PM
add this code on member_uploadform.html to allow users upload videos
Code: [Select]
          <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>
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: __G__ on August 27, 2007, 05:45:35 AM
Wow superb hey and can u also help me modifyin the code so we can add http://www.dailymotion.com videos as well
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: mawenzi on August 27, 2007, 09:10:13 AM
... 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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: roverantares on September 10, 2007, 08:41:07 AM
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:

Quote
<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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: baghdad4ever on December 27, 2007, 10:06:06 PM
hi

it is work fine

how can i uninstall it if wanna that?? :oops:
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: baghdad4ever on December 28, 2007, 06:14:53 PM


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
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: baghdad4ever on December 30, 2007, 04:51:18 PM
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?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: nuria on January 22, 2008, 03:02:34 PM
Este mod vale también para insertar reproductores del goear en la galeria colocando el código del goear en el campo descripción?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: apnetz on June 30, 2008, 05:02:29 PM
Is there any way of generating thumbnails from the streams?  This is the only thing missing from this great mod.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: AntiNSA2 on March 03, 2009, 07:44:06 AM
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.


Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: khan on June 30, 2009, 01:12:39 AM
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?
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: farazkhan on October 10, 2009, 06:02:03 PM
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" >
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: cutegal on December 16, 2009, 04:54:43 PM
How can I add this kinda script on my website : xxx: net2funxxx:  , as I am already having a fantastic script for videos.
Title: Re: [MOD] Integrar Google VIDEO y YouTube
Post by: linux12 on September 01, 2010, 07:18:01 PM
thanks a lot
work fine