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

Strumelia replied to marshall blake's discussion Every Week I Hope
""i will just keep doing what i am doing and wait for ning they will bring it i know it !"
Zach you…"
4 hours ago
Zachary Moonshine replied to marshall blake's discussion Every Week I Hope
"hmm i never had the 2.0 site, i started at 3.0 never even saw the option to have a 2.0 site , sucks…"
4 hours ago
Perrie Halpern replied to PeruCool's discussion Alternatives to Ning social network
"Thanks Donna! "
6 hours ago
soaringeagle replied to soaringeagle's discussion ning vs jamroom
"my 2 biggest complaints about jamroom are
1 they work too damn fast!
2 im having too much fun creat…"
7 hours ago
Magesoad replied to Deb W.'s discussion Recommendations for Ning alternatives?
"Free  Google+
and has more features than the ning
https://plus.google.com/communities/1173777787344&hellip;"
8 hours ago
Strumelia replied to Deb W.'s discussion Recommendations for Ning alternatives?
"DebW,  I really kinda wish this thread were closed, since it's redundant to the other Ning Alternat…"
10 hours ago
Kos replied to Deb W.'s discussion Recommendations for Ning alternatives?
"Owned by VMWare  (a publicly-traded company with a market cap of $35 Billion, is the provider of vi…"
10 hours ago
Donna Mac replied to PeruCool's discussion Alternatives to Ning social network
"Yes private message me.  Thanks!"
11 hours ago
Donna Mac replied to PeruCool's discussion Alternatives to Ning social network
"I do remember you and yes, please sign up.  You can leave at any time or I can remove you.  "
11 hours ago
Deb W. replied to PeruCool's discussion Alternatives to Ning social network
"Can I private message you if I have specific questions? Or do you prefer I ask you here?"
11 hours ago
Deb W. replied to PeruCool's discussion Alternatives to Ning social network
"Thanks Donna - That would be great. I will try that sometime soon."
11 hours ago
Deb W. replied to Deb W.'s discussion Recommendations for Ning alternatives?
"Someone was trying to sell me on Socious recently... Anyone know anything about it?"
11 hours ago
Deb W. replied to Deb W.'s discussion Recommendations for Ning alternatives?
"I figure start with what I'd like and then move down to what I'd settle for.... It never hurts to a…"
11 hours ago
Eve Bellator is now a member of Tips and advice.
15 hours ago
Kos replied to Kos's discussion Holidays Just Around The Corner
"I added a "Winter" background image and this code appears to work for both 2.0 and 3.0 sites.  It r…"
15 hours ago
soaringeagle replied to soaringeagle's discussion ning vs jamroom
"yea its got awesome potential
note tho if u want large upload limits  u need a server with lots of…"
15 hours ago
John Bizley replied to soaringeagle's discussion ning vs jamroom
"Thanks SE, yes that was one of the attractions of Jamroom and the way music can be added and sold.…"
15 hours ago
soaringeagle replied to soaringeagle's discussion ning vs jamroom
"being that  music was a big party of your site and the erra  i think it will work out awesomely"
16 hours ago
Joshua replied to Deb W.'s discussion Recommendations for Ning alternatives?
"Hi Elshara aka United Spirits.  Nice to have you on again.  Social paradox if you look at the site…"
16 hours ago
soaringeagle replied to Jen's discussion How To Change the Default Header Link on a Ning Network
"google 'image maps' its not often used these days but its a way to  select a certain area of an ima…"
16 hours ago
More…