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

Anam replied to Alyce Keegan's discussion Problems reverting to old site theme
"I reported this in detail with screenshots etc for the first time on 21st July. The Ticket says ''w…"
17 hours ago
Theodocia McLean-ColdCoffeeCafe, Patrick Kiss and Fernando Torres joined Ning Creators Network
18 hours ago
Kos replied to Shravan Panuganti's discussion Ning 3.0 Migration ?
"They halted migration and stopped building out 3.0 completely a few years ago.  There are tons of d…"
19 hours ago
Kos replied to Alyce Keegan's discussion Problems reverting to old site theme
"Nothing since the 12th for me.  My status says "waiting".  What a failure."
19 hours ago
⚡JFarrow⌁ replied to Alyce Keegan's discussion Problems reverting to old site theme
"Has anyone heard anything new about this?  I am having the same problem with 3 networks now!"
20 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion Work Around for Importing Facebook Page RSS Feeds
"anyone else tried this?"
21 hours ago
francis Pascual replied to Nancy Gruver's discussion Migration from Ning to WordPress
"Thanks Jamie!"
22 hours ago
⚡JFarrow⌁ replied to Shravan Panuganti's discussion Ning 3.0 Migration ?
"Ning has all of us in this holding pattern.  Your guess is as good as anyones.  Ning is a mysteriou…"
yesterday
Jamie Baker replied to Nancy Gruver's discussion Migration from Ning to WordPress
"I've done that with one network, of course you can with text but images etc you cannot as they were…"
Sunday
Jamie Baker replied to Nancy Gruver's discussion Migration from Ning to WordPress
"Can't help there sorry Kos, personally I bit the bullet and started a fresh with multiple networks.…"
Sunday
francis Pascual replied to Nancy Gruver's discussion Migration from Ning to WordPress
"Has anyone tried just copying and pasting their content on to a new site. Because even if you are a…"
Sunday
Josef Essberger replied to The Ning Team's discussion Notice of 2016 Storage Limit and Pricing Plan Changes
"With Garfield Archivist's help, we recently reduced the number of members from approx 140,000 to un…"
Saturday
Roy Sheridan is now a member of Ning Creators Network
Aug 18
Kos replied to Nancy Gruver's discussion Migration from Ning to WordPress
"Francis blog posts, their comments and Groups were migrated to WP.  The forums, their comments, eve…"
Aug 17
francis Pascual replied to Nancy Gruver's discussion Migration from Ning to WordPress
"Hi Kos are you manually inserting blog post or are you using some other method. We are frustated be…"
Aug 17
Gus, Béla Bodolai, JoAnn Jordan and 2 more joined Ning Creators Network
Aug 17
Kos replied to Crystal's discussion Bugs, Broken Links, and other Glitches on Creators 3.0
"Their response:

I've forwarded this to our engineering team and they are investigating the error.…"
Aug 12
Katy Blagg replied to Crystal's discussion Bugs, Broken Links, and other Glitches on Creators 3.0
"I've been getting the same issues for weeks also. Exaclty as you just said above."
Aug 12
Kos replied to Crystal's discussion Bugs, Broken Links, and other Glitches on Creators 3.0
"New ticket filed #1835245 filed today:
I'm having a variety of problems.  Began over a week ago but…"
Aug 11
⚡JFarrow⌁ replied to Crystal's discussion Bugs, Broken Links, and other Glitches on Creators 3.0
"it looks like Sanjay might be Ning's only employee.  Everytime i call, I get him on the phone."
Aug 11
More…