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

Willerie Razote replied to Willerie Razote's discussion Profile Questions--Can you have different versions for each member category?
"Thanks JFarrow.  Sorry about not being so clear. 
My forum has 2 member categories, and each one ha…"
2 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"It does appear that they cannot wait to see us go.  Unreal...totally unreal"
3 hours ago
JFarrow replied to Willerie Razote's discussion Profile Questions--Can you have different versions for each member category?
"Not sure i understand your question.  could you elaborate?"
3 hours ago
steve replied to Ning's discussion Update to Product Roadmap and Communication Changes
"if you need your ning site for now Donna then i would hold off until a couple of days before. Ive j…"
3 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Ah yes, now I remember!   Good move, I did it right around then as well as I recall."
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"I switched to monthly a year ago preparing to abandon ship  :)  "
4 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Just remember Ning has a policy ofn ot refunding ANYTHING once they renew a yearly subscripstion. …"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
""Woman in hat is now Glam Public Relations Manager." <--- That made me laugh so hard I started to c…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"That makes me feel better....I was on that page where it said "cancel network" and I just could NOT…"
4 hours ago
Strumelia replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Most are now working at Starbucks and Olive Garden. The one old guy in the back was actually the ja…"
4 hours ago
Asil replied to Ning's discussion Update to Product Roadmap and Communication Changes
"@ Donna.  I honestly don't think it was malicious.  I think the support person simply didn't read t…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"MY God what a horrible thing....fearing what the big NING will do.  My subscription date is the 22n…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"That is exactly what I would expect of NING.  So I shall wait until I am ready to cancel.  Thank yo…"
4 hours ago
Strumelia replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Agree with Asil.
Call the Ning Billing dept by phone and doublecheck the exact date of when your an…"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"I suspect many have left and many are working on stuff that has nothing to do with the NING platfor…"
4 hours ago
Asil replied to Ken Rich's discussion Ning Lied To Us - Your Content is Not Safe
"Thanks, Ken.  I signed up for the NING-to-Jamroom mailer. Looking forward to learning more."
4 hours ago
Asil replied to Ning's discussion Update to Product Roadmap and Communication Changes
"@ Donna.  I tried to do an advanced cancellation of one of my NING sites with them last year; it wa…"
4 hours ago
Donna Mac replied to Ning's discussion Update to Product Roadmap and Communication Changes
"Can someone tell me if I cancel my community site now with a date of Dec. 31, 2014...will NING hono…"
5 hours ago
Simon Farnworth replied to Jamie Baker's discussion Compress Your CSS, quickly & easily :)
"Great tip, thanks!"
10 hours ago
Kira Slye replied to Ning's discussion Update to Product Roadmap and Communication Changes
"So there has not been an update in almost 6 MONTHS! Very disappointing, like many creators I really…"
13 hours ago
More…