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

soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"thnx im really loving it but not done yet still got plenty of ideas to add"
2 minutes ago
John Bizley replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
"I will be adding the code onto my demo site now I have updated it and will post again once it's all…"
22 minutes ago
John Bizley replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
"Oh by the way if they choose to add any other type of images after the video then this is blocked f…"
34 minutes ago
John Bizley replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
"Hi Strumelia
Members can add videos themselves, you can set the page to moderate the videos before…"
39 minutes ago
Strumelia replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
""My main question is, will the members be able to use it or do we have to do this for them?"
Well t…"
53 minutes ago
Ceddy J replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
"My main question is, will the members be able to use it or do we have to do this for them? If a mem…"
1 hour ago
George H. Compton IV replied to Anant Garg's discussion CometChat Network Edition now available for NING
"It's working perfectly on your site Zachary. This is the best chat for 3.0, it integrates perfectly…"
1 hour ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"I'm very optimistic about my Jamroom site and am slowly learning things here and there.  But I have…"
1 hour ago
George H. Compton IV replied to George H. Compton IV's discussion A tip all Ning3 networks can benefit from. "fluid YouTube, Slideshare & Vimeo Videos"
"Thank you John, do you know of any other video, slideshow, radio or any other player that might be…"
1 hour ago
Zachary Moonshine replied to Anant Garg's discussion CometChat Network Edition now available for NING
"thanx yes it does work this is very cool cometchat has an edge on other chats for sure. i am mainly…"
3 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"and 48 hours is very impressive man !"
3 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"that's a pretty cool site dude !"
3 hours ago
Anant Garg replied to Anant Garg's discussion CometChat Network Edition now available for NING
"Please email the support team at (help@cometchat.com) and they will get back to you."
6 hours ago
Anant Garg replied to Anant Garg's discussion CometChat Network Edition now available for NING
"I've checked with the team and they have replied regarding this. Please email them if you still fac…"
6 hours ago
Nawal Kumar is now a member of Hire a Creator
7 hours ago
Nawal Kumar left a comment for Nawal Kumar
"We need a web designer in Mumbai to develop our website. Contact Nawal Kumar at Mumbai 9323757275"
7 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"and..i just posted an event a goal of  going live by new years eve..
if not then then very near then"
10 hours ago
Rob Nanya replied to Rob Nanya's discussion Any simple way to put the site offline?
"Sounds good.  I'm used to other CMSs like Joomla where you can take your site offline with a click…"
12 hours ago
Kos replied to Rob Nanya's discussion Any simple way to put the site offline?
"I never worry about the other pages - 99.9% of people wouldn't know how to enter a URL to find them…"
13 hours ago
Kos replied to Rob Nanya's discussion Any simple way to put the site offline?
"Do you not want members to even access it?
If you just wish visitors not to be able to view, I woul…"
13 hours ago
More…