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

FORUM

Ok so it's great to see we have the new videos added but there are a few issues on it's layout especially around the view counts, like button and embed button as you can see in the image below. Also everythign in the bottom part seemed a bit cramped.

You can see a demo here: New Video Layout For Videos Detail

BEFORE

Now here is the after image once the bit of code was added.

As you can see everything now looks a lot better.

  1. The main thing first was to move the counts and the embed button, also to make the embed button a little smaller
  2. Next was to adjust the social buttons margins
  3. In the counts was to get the word views to show
  4. Also get the word like to show for the like button
  5. Added an about title above description
  6. Make the video Responsive

So that's what I did and here is the code I used.

First is to move the embed button so we need to add a little bit of code into our site&pages custom code end of page section

<script>
// Move the embed button on video page
x$('.videoDetailPage-getEmbedCode_wrap ').appendTo('.videoDetailPage-viewVideo');
</script>

Next is to add the css for all the adjustments to the page including the repsonsive code for the videos. All this goes in your design studio custom css section

/** NEW VIDEO PAGE **/
/*Detail Page Corrections*/
.videoDetailPage-video{
margin-bottom:5px;
}
.videoDetailPage-viewVideo {
float: left;
margin: 10px 0px 10px 10px;
width:100%;
}
.videoDetailPage-viewVideo .icon-eye{
vertical-align:bottom;
display:inline;
}
.videoDetailPage .icon-love{
display:inline;
vertical-align:bottom;
}
.videoDetailPage-mainVideo .button-tiny.likeButton a{ font-size:12px }

/** Adding A Video Input Correction As It Was Cutting If The Text Top And Bottom **/
.input-full.videoForm-inputTitle{
 padding: 0px 0px 0px 4px;
}
/* Social Actions Box */
.videoDetailPage .socialActions{
margin-top:12px;
margin-bottom:6px;
}
/* Spacing for the social buttons */
.videoDetailPage .socialSharingButton {
margin-bottom:5px; margin-right:5px;
}

/* Make video Responsive */
.videoDetailPage-video {
    margin-bottom: 5px;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}
.videoDetailPage-video iframe{
    max-width: 100%;
    height: 100%;
    width:100%;
    position: absolute;
}
/* Adjust get embed code button after being moved */
.button.button-secondary.videoDetailPage-getEmbedCode{ font-size:12px }
.videoDetailPage-embedCode{ width:100%; margin-bottom:20px }
.videoDetailPage-getEmbedCode_wrap { text-align:right; width:100%; margin: -20px 10px 10px 0px;float:right }

/* Add a title to the video description */
.videoDetailPage-mainVideo >.entry-content::before{content:"About"; display:block; margin-bottom:5px; text-decoration:underline }

That's it, it should all look a little neater now.

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

  • Ning just hire him already.  LOL  Great work John - thank you!

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

Thisisbully replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Good luck"
3 hours ago
Steve C replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Thank you, Ning! I was about to cry to Support again about how much I need to move to 3.0, and beg…"
8 hours ago
Marco Westerhof replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Sure: www.reefz.nl
Although it is primarily in Dutch, feel free to look at the setup. We work with…"
8 hours ago
Gerard Nealy replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Any chance of live stream?"
8 hours ago
Elshara Silverheart replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Well done Ning! the storage implementation sounds like a really cool idea. Perhaps a list of the mo…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"Do you have a ning 2 or 3 network?"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"I think the change itself may be caused by how Tinymce handles the plugins required to add said fun…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"this seems like normal behavior. So making sure tinymce gets called as soon as possible may make th…"
8 hours ago
Ning via Facebook

Improve your community every day! It's easier to say than to do, right? But not for…

Paul B Thomas replied to Gavin Brown's discussion
Text Editor Problems
"Hi I have similar issues at the moment. Cannot upload pictures, an error mesages comes up when I tr…"
10 hours ago
Gavin Brown replied to Gavin Brown's discussion
Text Editor Problems
"Thank you Kyryl
 "
11 hours ago
Traddie replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Marco. Can you tell me what your network url is so that I can have a look at it. Tks"
11 hours ago
More…

Meanwhile, you can check our social media channels