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 Social Network to add comments!

Join Ning Creators Social 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

Cindy Dean Mccoy replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Yep.  I was going to do that tomorrow if ours is still now working correctly.  I am sure they have…"
1 hour ago
Kos replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Cindy Update your support ticket - tell them what's happening.  Remember, support is not here in th…"
1 hour ago
Cindy Dean Mccoy replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Ours is still not working properly.  I can see those online now.  If I post a comment in chat, ther…"
1 hour ago
Manuel Adame Jimenez replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
""
1 hour ago
Manuel Adame Jimenez replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
""
1 hour ago
Kos replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Chat is back.  Thank goodness!  I was close to screaming at support last night. Glad they finally g…"
1 hour ago
Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"When a member likes their profile page or anything else it always says they shared it on facebook -…"
2 hours ago
Thisisbully replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"I did I'm using a chat I had built for me works perfect"
2 hours ago
Ning via Facebook

#Ning #tips #followus Gather first followers, using 3 main secrets of effective social…

Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"This is just me... but, I am thinking about disabling chat completely until the next update.It is a…"
2 hours ago
Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"I really hope you guys plan on going back to the old chat format... or change this format to work l…"
2 hours ago
Brendon R Culliton replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Is anyone else having issues with the preview images not being fetched properly for new entries whe…"
2 hours ago
Brandyn Shepherd replied to Yana Ning Support's discussion Product Plan Update
"My chat is working again. Thanks Ning! One thing I noticed is that when you look at the who's onlin…"
3 hours ago
Manuel Adame Jimenez replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Kyryl can opcion change color chat ... that black color not pretty in my network ... thanks ...
htt…"
3 hours ago
Manuel Adame Jimenez replied to Kyryl_Ning_Support's discussion Chat Feature Update on Ning 3.0 is ready!
"Hi Kyryl ... chatting working thanks ... now for the sound ... greetings Kyryl family ning thanks
♧…"
3 hours ago
Ning via Facebook

#Ning #shop #pricing Choose your ideal price for your unique online community!

M.Tariq Malik replied to Marcelo Rodrigues's discussion Chat problem
"same issue on http://vustudents.ning.com"
10 hours ago
Manuel Adame Jimenez replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Kyryl came out red shield again ... which means
♤♡♧"
12 hours ago
Paul Corona replied to Marcelo Rodrigues's discussion Chat problem
"Also down:"
13 hours ago
R. Holley replied to Kyryl_Ning_Support's discussion Our Efforts - Your Feedback
"We have 2. That link didn't work even after taking everything out and saving it. I finally got it w…"
15 hours ago
More…