Hi all,

I use Drupal 7 and I would like to know a good way to place videos into blocks.
At this moment I have installed the Kaltura module as well, but I don't manage to get a video into a block.

For example: I have a video which I would like to place into the second right bar of my homepage www.drakenbloedboom.com
But as well on different pages of my choice

I am open to any suggestions.

What type of modules do I use best? And are there useful tutorials?

Thanks in advance

Regards,

Mark

Comments

andyguzman’s picture

Are the videos hosted somewhere like youtube or vimeo?

If so, it could be as easy as simply creating a new block and putting the embed code from youtube/vimeo in as the content.

El Rey Mark’s picture

Hi Andy,

Thx for your reaction.
Some videos are hosted and some not.
I tried it with the hosted one and it worked.
How can I do it with the videos which are not hosted?
regards
Mark

andyguzman’s picture

If they are hosted somewhere like youtube or vimeo, there will be a "Share" button on the video. You want to copy the embed code you can get after clicking share.

graham leach’s picture

Hello,

Here's how I do it in code, which I just paste as PHP into a new block. For you, just replace the specifier (AW73fi_502Y) with your own video hash, which you can get directly from the YouTube interface by clicking on the "share" tab of the video that you want to put on your site. You can also specify the size of the block here.

<object width="280"><param name="movie" value="http://www.youtube.com/v/AW73fi_502Y"> <embed type="application/x-shockwave-flash" width="280" src="http://www.youtube.com/v/AW73fi_502Y"></object>
trigve hagen’s picture

You can use this module https://www.drupal.org/project/youtube_latest_block. Thanks. Have an awesome day!