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

Dr. Krishna Kumari Challa replied to Dr. Krishna Kumari Challa's discussion Now I cannot save anything on my network!
"There are several articles. Sometimes I can, sometimes, I can't edit. The usual time I work on my n…"
3 hours ago
Anam replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Why have you removed the Latest Activity feed from Creators Ning?"
19 hours ago
Kyryl_Ning_Support replied to Dr. Krishna Kumari Challa's discussion Now I cannot save anything on my network!
"Hi there,
Could you please provide us with the link to the discussion that you are not able to edit…"
21 hours ago
Kyryl_Ning_Support replied to FedMedic's discussion Members only page is seen by everyone
"Hi there,
We apologise for the inconvenience.
The page should be working fine right now.
Best regar…"
21 hours ago
Kyryl_Ning_Support replied to Martin Buzz's discussion Can I limit number of Photos uploaded?
"Hi there,
Sorry but there is no way to limit the amount or size of photos that one member could upl…"
22 hours ago
Kyryl_Ning_Support replied to Kos's discussion 2.0 Is Your Facebook Share "Working"?
"Hi there,
Sorry for inconveniences.
We have reported this issue to our tech team for investigation.…"
22 hours ago
Masaki Tanaka, Yasir Nasir, Abdeko and 1 more joined Ning Creators Network
22 hours ago
FedMedic replied to Kos's discussion 2.0 Is Your Facebook Share "Working"?
"Fortunately, my facebook app is working. (for now) Good luck Kos. I wish I could help you."
yesterday
George Swann replied to Saurabh's discussion Has any one created android ios mobile app ning 3.0
""..the day they start using their phones..."  
I agree, to be effective both today and going into t…"
yesterday
Bizz ( John ) replied to Pat Howlett's discussion talkfunnels.com is Live!
"Hi Pat, nice to see you back. I also came back onto Ning a few months ago once I found out that Mod…"
Saturday
Thisisbully replied to Saurabh's discussion Has any one created android ios mobile app ning 3.0
"The guys on here are older than computers lol they do not work on anything mobile on here ,the day…"
Saturday
Saurabh replied to Saurabh's discussion Has any one created android ios mobile app ning 3.0
"no one ?"
Saturday
Dr. Krishna Kumari Challa replied to Dr. Krishna Kumari Challa's discussion Now I cannot save anything on my network!
"Infact the 'save button is not even reacting when you click on it most of the times! The problem st…"
Saturday
Dr. Krishna Kumari Challa replied to Dr. Krishna Kumari Challa's discussion Now I cannot save anything on my network!
"Yes, I got this reply from you...
Thanks for contacting us.
We have tested the network and especial…"
Saturday
Bizz ( John ) replied to Martin Buzz's discussion Can I limit number of Photos uploaded?
"Hi Martin, do you mean in total or just the amount being uploaded at one time ?"
Friday
Bizz ( John ) replied to Bizz ( John )'s discussion Why Are The Events Not Listing The Same Way As UpComing In My Events Or Categories ?
"Thanks for the reply Kyrl, I think this is a priority to do as  the way it stands at the moment if…"
Friday
Kos replied to FedMedic's discussion Members only page is seen by everyone
"We had over 17,000 posts, not including comments.  No way!  lol"
Friday
Kos replied to Martin Buzz's discussion Can I limit number of Photos uploaded?
"I'm sure there's a way, although I can't say that I've seen it.  If you can't locate it with a sear…"
Friday
FedMedic replied to FedMedic's discussion Members only page is seen by everyone
"Agreed, it would be hard to leave it behind, however, I could leave it up to our members to manuall…"
Friday
Kos replied to FedMedic's discussion Members only page is seen by everyone
"The big problem is leaving so much data behind.  Not all the json files function on export so you w…"
Friday
More…