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

battochir - June 7, 2008 - 09:25

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

aksjbrett - July 28, 2009 - 17:32

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

StickyTouch - June 7, 2008 - 09:41

The video_filter module at:
http://drupal.org/project/video_filter

search Modules

krisvannest - June 7, 2008 - 11:01

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

mohan.ankur - June 7, 2008 - 14:18

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

drewschmaltz - June 8, 2008 - 00:13

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)

drawk - March 14, 2009 - 15:43

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.

Hack in video.module file

tony31 - March 16, 2009 - 18:49

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

<?php
function 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

<?php
function 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

alexandreracine - March 14, 2009 - 02:23

here it is http://drupal.org/project/googtube

version 6 will be up in 12 hours ;)

um - I don't think you should

snovich - March 16, 2009 - 08:41

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

ron_s - August 1, 2009 - 01:34

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

2createwdrupal - August 1, 2009 - 01:52

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...

copy and paste the code directly from youtube

2createwdrupal - August 1, 2009 - 01:47

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.

2createwdrupal, as I said

ron_s - August 1, 2009 - 19:34

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.

 
 

Drupal is a registered trademark of Dries Buytaert.