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

Forum

Add youtube video only in first page

Hi,

I would like to know how to add video only in first page or main page.

I have one code for put video but this appear in all pages. How to add video in main page?

 

See my web, is the video in up....

http://ucraniaonline.com/

 

 

Thanks, gracias in advance

 

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

Join Ning Creators Network

Email me when people reply –

Replies

  • textbox... ?

    • No cause text box add video in this part of the web but i need video in one special position of the web!

      Now i have video with scrypt, you can see in my web www.ucraniaonline.com in the head of page. But i need that only its seeing in the main page and no in all pages of them.

      How to do?

  • NC for Hire

    Hi Igoravance,

    Add this class to display on main page only.

    .xg_widget_main

    • Hi Bernard and thanks for answer...

      I have this two codes

      css code:

      #video {
      position: absolute;
      width: 210px;
      height: 35px;
      margin-left: 395px;
      margin-top: -95px;
      }

       

      and scrypt code

      <script type="text/javascript"> x$(document).ready(function() { x$("div#xg_masthead").append('<div id="video"><iframe width="210" height="120" src="http://www.youtube.com/embed/uF373Iynpsc" frameborder="0" allowfullscreen></iframe></div>');

      });   </script>

      Where i need put the code? thanks in advance

      • NC for Hire

        Then use this code in custom code 

        <script type="text/javascript">
        if(x$('.xg_widget_main ').length > 0){
        x$("#xg_masthead").append('<div id="video"><iframe width="210" height="120" src="http://www.youtube.com/embed/uF373Iynpsc" frameborder="0" allowfullscreen></iframe></div>');
        }
        </script>

        <style>
        #video {
        position: absolute;
        width: 210px;
        height: 35px;
        margin-left: 395px;
        margin-top: -95px;
        }
        </style>

        • OHHHHH YESSSSSSSSSSSSSSS I LOVE YOU MAN, REALLY IM YOUR FAN, SO MUCH THANKSSSSSSSSSSSSSSSS

          • NC for Hire

            Thanks igoravance. Glad it worked for you.

            Have a great time.

  • dang i just used it to put slideshow on the Main that boy Bernard knows his cup of Java... !

This reply was deleted.

Search the Creators Network

Latest Activity

Kos replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I tried that"
44 minutes ago
Kos replied to Saurabh's discussion How to add content in status update page?
"Saurabh you have to change the layout for member pages in sites & pages - then add content in the s…"
44 minutes ago
John Bizley replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Kos to change it you just place your cursor at the start and type what you need, the 'What are you…"
48 minutes ago
Writer Chick {Diane} replied to Anthony "DarkGemineye" Johnson's discussion PlayStation Haven is back. Let me know what you think.
"Gotta say, your site looks amazing.  It's great to hear (and see) a success story! "
1 hour ago
steve replied to Stig Karlsen's discussion When will Ning 3.0 be compatible with tablets - iPad and iPhones?
"its truly worrying this bit of news and i dont get it, why would you make a new modern platform tha…"
1 hour ago
ceri shaw replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Still totally non functional on my site ( http://americymru.net ).  The More button doesnt work and…"
3 hours ago
Kos replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Unable to change status prompt from "what are you up to?" in Firefox.  Did a hard refresh.  Have no…"
3 hours ago
Denis replied to Stig Karlsen's discussion When will Ning 3.0 be compatible with tablets - iPad and iPhones?
"Really? Then I think I got the meaning of "responsive design" wrong. Ning 3.0 has been touted since…"
4 hours ago
Anam replied to Fire-Tech's discussion 3.0 Tip: Status Update Box Tweaks
"Thank you FireTech. That looks and works really groovy :)"
5 hours ago
Natalie H. replied to Stig Karlsen's discussion When will Ning 3.0 be compatible with tablets - iPad and iPhones?
"Answer below - in short, no interest, no care.

"Thanks for replying to us! This is because Flash…"
6 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Okay one more piece of rant before I take a long walk.....
(Moral of story...do NOT make an Irish w…"
7 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Thanks Mike for verifying.

People may not think this is a big deal but it is. I was one of the fir…"
7 hours ago
Ceddy J replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I just applied for migration!!!! This is what I needed to see."
7 hours ago
Mike Collins replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"I've just noticed that too and have been experimeting as I have the activity feed in a few places a…"
7 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"So okay to clarify 
NO COMMENTS on Comment Walls in Groups appear on the new Latest Activity Feed.…"
8 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Hang On...Thus far the Latest Activity Feed does not update as one posts. Will report back later...…"
8 hours ago
Lea Scott replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"just copy the link Mike instead of getting the embed code. Works for me :)"
8 hours ago
soaringeagle replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"rss feeds might take a lil whike to update im thinking"
9 hours ago
Anam replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"So far I am pleased. It took me a little while to set up properly....had to change from titles to D…"
9 hours ago
Edie2k2 replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Can you help? I can't see the activity feed. No rush. Here's my 3.0
I put an RSS feed in the proper…"
10 hours ago
More…