Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

I thought I would share this as just finished adding this to my site. What this is for is for you to be able to help distinguish between Photos and Videos in the activity feed and also video listpages. As the videos when added look very much the same as the photos when added it is difficult to tell them apart by the title link and that's only if you add the word video in the page, if you create a page not named videos and let's say you created a video page named ' Training Courses'  then when seen in the activity the user will not know whether it's a video or a photo.

So here is a way to add some icons to them, you can see it working on my site and it works for grouped videos, single ones and uploaded ones. If you scroll doen my acitvity you will see carious videos.

Demo Images At the Bottom of post.

You can see this working on my site here: http://bizzssite.ning.com/

Ok all this is done via CSS so no custom code required. The first thing we need to do is add some icons to use into your file manager in site & pages, you can use just about any type you want but here are the two I use, you can copy these ( make sure you save them as png ) and add them to your file manager, once there and uploaded copy the links for each of them and add them to notepad or something for later use.

Black Icon White Arrow as the default

Red Icon For When Hovered or Pressed

Next we just add the css and add the links into the parts which say add image link here. You should not need to change anything else. If you do want to adjust the size of the images you can do so by adjusting the background-size: percentage

/** VIDEOS PLAY IMAGE **/
/*ON VIDEOS IN ACTIVITY*/
.feedEvent-createVideoRollup .activityFeed-content a.activityFeed-image,.feedEvent-createVideoRollup .activityFeed-content a.media-img, .feedEvent-createVideoComment .activityFeed-content a.media-img, .feedEvent-createVideoLike .activityFeed-content a.activityFeed-image{ display:table-cell; height:100%;position:relative; }
.feedEvent-createVideoRollup .activityFeed-content a.activityFeed-image::before, .feedEvent-createVideoRollup .activityFeed-content a.media-img::before, .feedEvent-createVideoComment .activityFeed-content a.media-img::before, .feedEvent-createVideoLike .activityFeed-content a.activityFeed-image::before{content:' ';display:block;
background-image: url( ADD BLACK ARROW LINK HERE );background-repeat:no-repeat; background-position:center center; background-size:19%; width:100%;height:100%;position:absolute; }

.feedEvent-createVideoRollup .activityFeed-content a.activityFeed-image:hover::before, .feedEvent-createVideoRollup .activityFeed-content a.media-img:hover::before, .feedEvent-createVideoComment .activityFeed-content a.media-img:hover::before, .feedEvent-createVideoLike .activityFeed-content a.activityFeed-image:hover::before{background-image: url( ADD RED ARROW LINK HERE );background-size:17%; }

/* ON VIDEO IN LIST PAGE */
.videoListPage-image::before{content:' ';display:block;
background-image: url( ADD BLACK ARROW IMAGE LINK HERE );background-repeat:no-repeat; background-position:center center; background-size:22%; width:100%;height:100%;position:absolute;}
.videoListPage-image:hover::before{background-image: url( ADD RED ARROW LINK HERE );}

DEMO IMAGES

Enjoy

John :-)

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

  • NC for Hire

    Nice touch Bizz!

    • Thanks JF :-)

  • And it goes well,

    what happened is that I put the code,

    when it had to be the url of youtube,

    I added your code

    and it comes out very clear with the

    YouTube url, not with the embed code,

    thanks Jhon

  • Thanks to your code Jhon,
    it comes out in the source activity,
    thanks Jhon
This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Alessandro replied to Daniel Overman's discussion
Setting up a product catalog or database
"I used groups module for this purpose, I created about 4.800 groups until now, each group is a "pro…"
2 hours ago
Ning via Facebook

Do you have podcasts that you have created for your community? Maybe you are keen on music or…

Kyryl_Ning_Support replied to Daniel Overman's discussion
Setting up a product catalog or database
"Hi there!
You may try to use one of the modules for example blog for this purpose. The body could c…"
9 hours ago
Kyryl_Ning_Support replied to francisco's discussion
Adsense policy violation on member profile edit page
"Hi there!
If you are using Ning 2.0, unfortunately, there is no inbuilt way to control the modules…"
10 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
SSL certificate feature release
"Hi there!
Sure we can generate CSR for you, however, it would be faster if you do it by yourself. G…"
10 hours ago
Kyryl_Ning_Support replied to Dan Hennings's discussion
How do I find CSS?
"Hi Dan,
You can use the Chrome inspector or dev tools in the FireFox, to see the structure of the s…"
11 hours ago
Ken Conrey, Vinnie Doan, jessica and 15 more joined Ning Creators Social Network
11 hours ago
More…

Meanwhile, you can check our social media channels