Have a watermark image on videos
Watermark on Drigg video uploads
Create a watermark image of a camera or a film-reel, or something like that. Make sure that watermark’s background is transparent. Put that image in your theme’s /img folder. NOTE: make sure that the image is small , like 16x16 or something like that. This is because this watermark image will be displayed ON TOP OFF your video thumbnail, and therefore will not link to the actual video node that you want to watch.
Go to Admin -> Settings -> Drigg -> Embedded Objects and add this where it says “What to show after embedded objects:”:
<div id="watermark_box">
<img src="/sites/all/themes/marinelli/img/video_watermark2.gif" class="watermark" alt="Watermark image" />
</div>
(NOTE: if you know how to write the code in such a way that watermark image will link to actual video node, please write it here in a comment. Thanks! )
In your styles.css make sure that your section pertaining to embedded video thumbnails looks something like this:
.node.ntype-drigg .embedded-teaser div {
float: right;
margin: 0 8px;
padding: 1px;
border: 1px solid #bbb;
position:relative;
display:block;
}
.node.ntype-drigg .embedded-teaser div img {
display: block;
margin: 0;
position:relative;
}
.node.ntype-drigg .embedded-teaser div img.watermark {
left:85px;
position:absolute;
top:45px;
vertical-align:bottom;
border: none;
}
#watermark_box{position:relative;display:block;}
- Enjoy!
- admin's blog
- Login or register to post comments