Paid affiliate advertisement
Will pay to figure out how to Embed Youtube in my Pages
mohan.ankur - June 7, 2008 - 09:09
Can any one help me in getting to embed youtube videos to my site. I wil pay $5 for it. Should be an easy job (which I could't do)
Please conact me at yahooIM mascularankur
Thanks
Ankur

This does what you want and much more
Hello Ankur,
Go here http://drupal.org/project/emfield and try that out. You need to install the CCK module http://drupal.org/project/cck first. Then you can embed a whole bunch of third party videos, including YouTube into any content type you want and theme it all very easily.
cheers,
wim
EMFIELD
As per ur advice i installed the CCK and updated my site , But how do i add the emfield option. i have uploaded the files to my server but do not know how to activate them
HELP!
Check out
The video_filter module at:
http://drupal.org/project/video_filter
search Modules
I didn't see where you mentioned what problem(s) you were having, but definitely check out any of the media embed modules over at http://drupal.org/project/Modules/category/67 ... in particular, embed filter or embedded media field might fit the bill. BTW, there used to be a good but simple GoogTube module, but I didn't see it on quick search and I think Embedded ones probably have more features anyway.
Thank You All
Video Module has done the job.
Now there is a small another thing.
Just below the video a message is coming
"
Problems viewing videos?
youtube.com "
I do not want to show this. Any idea how i get rid of it?
Thanks
Ankur
I can solve this problem
It will require slightly tweaking the module. I can do this adjustment for you for $50 payable by check or paypal. Let me know if you are interested.
Company website: imoria.com
(still under development)
E-Mail me @ drew@imoria.com
Better to not hack (tweak)
Better to not hack (tweak) the module itself where avoidable, IMO. You'll break the upgrade path. If you're going to parse out the string, use a theme override, if possible, or at least nodeapi in the 'view' op.
---
www.whatwoulddrupaldo.org
Hack in video.module file
hi Ankur
You can remove this text by editing video.module file.
Go to modules/video and open video.module file.
Look for this function
<?phpfunction theme_video_format_play($output, $url, $title, $link_text) {
$output = "\n<div id=\"video-player\">\n" . $output;
$output .= "<p>\n". t('Problems viewing videos?');
$output .= "<br />\n";
$output .= l($link_text, $url, array('title' => $title), NULL, NULL, TRUE);
return $output ."\n</p> \n </div>\n";
}
?>
and change this to
<?phpfunction theme_video_format_play($output, $url, $title, $link_text) {
$output = "\n<div id=\"video-player\">\n" . $output;
return $output ."\n </div>\n";
}
?>
hope this helps.
--
Drupal Development / Theming
here it is
here it is http://drupal.org/project/googtube
version 6 will be up in 12 hours ;)
Alexandre Racine
www.alexandreracine.com - mon site perso
www.salsamontreal.com La référence salsa à Montréal
um - I don't think you should
um - I don't think you should need any modules.
When you create a story/page use the embed code provided from the video at youtube, and just make sure you have the "full HTML" option selected, which should be a check box on the story/page's edit view (maybe hidden in an expandable drop down)
snovich, you don't want to
snovich, you don't want to give this functionality to site visitors and general registered users. It is a security issue. That's the reason for using modules like video_filter and emfield.
Apologies, enovich, I just
Apologies, enovich, I just posted a similar response.
What is really needed here is the ability to give different posting input to different user levels. Maybe in D7...
www.fromoutoftheblue.com
copy and paste the code directly from youtube
I include youtube video in some of my blog posts. All I do is copy and paste the code given on the youtube page. For this to work, you need to use the Full HTML posting option.
I've read through all the modules that allow posting of video and I've never understood why all the complication about it - unless you want to do something more that just embed a video in a page, such as create a video gallery or a fancier display, then the other modules help you do that.
www.fromoutoftheblue.com
2createwdrupal, as I said
2createwdrupal, as I said above, you don't want to give "Full HTML" to someone who just registers on your site to post a comment. It is a security risk. If you're just posting youtube video yourself, then there is no issue, but for anything more meaningful you need to use some of the video modules.