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

Now this is not something that a lot of NC's realise that you can do, you can add YouTube videos and other things like Soundcloud music into your activity feed. It's always been available but just not mentioned. The only problem with adding YouTube videos is that they where not big or responsive so here is a tip to remedy that. The videos you add do NOT get added to your current video pages they are just available in the activity feed.

This will work in the activity feeds in profile pages, side columns etc. The activity feeds must be set to detail and not titles only.

Here is an Example on my demo site, you will see I have added an activity feed in the side column as well so you can see it working there. I added a link to my profile page so you can check it out on profile pages also.

SITE URL: https://jr-images.ning.com/

MY PAGE URL: https://jr-images.ning.com/members/bizz

NOTE: Just use the YouTube link from share and not the embed option.

No custom code is needed just css so all the code just goes in your design studio custom css. The first parts are optional but the last part is required.

First how to add a YouTube link to your activity. All you do is go to a video on YouTube you want to share then choose the share option under the video and copy the link ( don't choose embed )

8384734683?profile=RESIZE_584xThis is what you will paste into the status share box on your site at the top of your activity ( your members can do this as well ). If you don't want to add any text then just paste the link and choose share on your site or whatever you named the button.

If you are adding a little text like a description add that first then press enter and add the link on a new line.

Ok so here is the code. In the optional parts you can add all of the blocks of code or just the ones you want. You MUST add the required code at the bottom though.

/*** THESE ARE OPTIONAL SETTINGS ***/

/* Changes the text on status post back to normal rather than bold */
.activityFeed-detailTitle {
font-weight:normal;
margin-top:1em;
}


/*Add the Words You Tube link above the link added */
.activityFeed-detailTitle.create_status > a[href^="https://youtu.be/"]::before,
.statusDetailPage-mainSection .activityFeed-headline > a[href^="https://youtu.be/"]::before{
content:"You Tube Link";display:block;
}


/* Adds Some Padding and margin between the Headline and link */
.statusDetailPage-mainSection .activityFeed-headline > a[href^="https://youtu.be/"],
.activityFeed-detailTitle.create_status > a[href^="https://youtu.be/"]{
display:block;
clear:both;
margin-top:1em;
padding:5px 0px 0px 5px;
}


/*Widens the box which holds the status content */
.feedEvent-createStatus .activityFeed-content,
.statusDetailPage-mainSection .activityFeed-content{
max-width:100%
}

 

/** THESE ARE REQUIRED to make the video bigger and responsive **/

.activityFeed-embed[data-type="video"] > .activityFeed-embedContent{
position: relative!important;
padding-bottom: 56.25%!important;
height: 0!important;
overflow: hidden!important;
max-width: 100%!important;
height: auto!important;
width:auto;
background:none;
}
.activityFeed-embed[data-type="video"] .videoFrame iframe,
.activityFeed-embed[data-type="video"] > .activityFeed-embedContent iframe{
border: none!important;
overflow: hidden!important;
position: absolute!important;
top: 0!important;
left: 0!important;
width: 100%!important;
height: 100%!important;
}

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

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • I have added and expand button to view it bigger on my site now, this is not included in the code above but will add the code after further testing of this option. So far seems to be working well though.

  • Well the expand button seems to be working nicely now which opens the video bigger out of the activity feed, just working on a little part to get the expand button to show up directly after you add the video but does show on refesh of the page. Videos added before the new one all show the expand button ok.

    You can try it out here: https://jr-images.ning.com/

    Be interested to know if you have any issues trying it and the video re-sizes ok for what you are wathcing it on. On a phone it's just the standard size as the phone tends to open it in it's own viewer anyway.

    jr-images
    jr-images is a social network
    • Vimeo links also work to display video here as well

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

Rosas † Negras replied to ⚡JFarrow⌁'s discussion
Trick N3.0: How to Change the Color of Your Green Ning Bar with CSS
"thanks for the codes, the right side was still green like this add this now is ok, thanks again for…"
25 minutes ago
Rosas † Negras replied to Rosas † Negras's discussion
"TIP" the new ultimate NingBar 3.0 !!! inspired by my dear friend George H. Compton IV
"Mystical 
the perfect bar size for 3.0 is 716 x 11,you will no longer have two bars with this size"
7 hours ago
Rosas † Negras replied to Rosas † Negras's discussion
"TIP" the new ultimate NingBar 3.0 !!! inspired by my dear friend George H. Compton IV
"you are welcome, to adapt it to 3.0 it didn't take much for me, it was a fundamental part for…"
7 hours ago
Mystical updated their profile photo
12 hours ago
Mystical replied to George H. Compton IV's discussion
"TIP" the new ultimate NingBar!!! six eye-catching animated colors to choose from update 2
"Thank you so much. I love it and it works great!!"
12 hours ago
Mystical replied to Rosas † Negras's discussion
"TIP" the new ultimate NingBar 3.0 !!! inspired by my dear friend George H. Compton IV
"Thank you George H. compton IV for the code and thank you Rosas Negras for sharing the code. =)"
13 hours ago
Rosas † Negras posted a discussion
16 hours ago
Rosas † Negras replied to Bizz's discussion
NEW Sharing Option I Have Been Working On
"thank you very much for your work and for the help you give to all of us"
22 hours ago
Bizz replied to Bizz's discussion
NEW Sharing Option I Have Been Working On
"Mentions will not work with this as we are using the activity feed and mentions are only available…"
22 hours ago
Rosas † Negras posted a discussion
}.status-container.media-frame{color:#ffffff;font-weight:bold}.quickadd-options…
yesterday
Rosas † Negras posted a discussion
  <script type='text/javascript'>//<![CDATA[ //Substitute URLs to change falling objects var…
yesterday
Rosas † Negras replied to Bizz's discussion
NEW Sharing Option I Have Been Working On
"Bizz  it's wonderful!!! I'm sure you've already tried to integrate in the box mention option ."
yesterday
More…

Meanwhile, you can check our social media channels