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

Kos replied to steve davies's discussion Can't sign out of my site etc
"File a ticket online (if you can't on your website) http://ec2-75-101-132-140.compute-1.amazonaws.c&hellip;"
7 minutes ago
Jim Gramza replied to steve davies's discussion Can't sign out of my site etc
"Won't even let me send a ticket."
34 minutes ago
Jim Gramza replied to steve davies's discussion Can't sign out of my site etc
"You got that right!"
36 minutes ago
Jim Gramza replied to Traddie's discussion Can't Sign in or out of my Network, or add blogs
"We are having the same issues. I'm signed in, but can't sign out. Can't even send a message to anot…"
37 minutes ago
George H. Compton IV replied to George H. Compton IV's discussion (Ning 2 & 3) welcome / sign-in and sign-up pop-up module. Updated May 1, 2016
"Updated May 1, 2016.  Now even if a visitor closes the module it will reopen every 15, 30, 45 or 60…"
1 hour ago
Garfield Archivist replied to Traddie's discussion Can't Sign in or out of my Network, or add blogs
"This is happening to several others today (May Day) over at the following discussion click here"
2 hours ago
Garfield Archivist replied to steve davies's discussion Can't sign out of my site etc
"FYI, there is another discussion started today by Traddie on the same issue. Click here
You can try…"
2 hours ago
Kos replied to steve davies's discussion Can't sign out of my site etc
"I hope you've all filed tickets so they see it's an issue when they open tomorrow.  Sadly they're o…"
4 hours ago
Steve C replied to steve davies's discussion Can't sign out of my site etc
"I am having the same problems. Been since Saturday afternoon (I'm in Calif.).
People can't post or…"
4 hours ago
Writer Chick {Diane} replied to steve davies's discussion Can't sign out of my site etc
"I'm having trouble with my site today, too.  When I reply to discussions and click the button to ad…"
5 hours ago
Chris Comish replied to steve davies's discussion Can't sign out of my site etc
"Happening to my 2.0 site now. I did everything suggested. Yes this is definitely an issue on Ning's…"
6 hours ago
Chris Comish replied to Just Asking's discussion Systems Down Again???
"same for me"
6 hours ago
Just Asking replied to Traddie's discussion Can't Sign in or out of my Network, or add blogs
"Sadly, you're one of many. This hit me last week and there's another post here from this week from…"
9 hours ago
John Bizley replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Brian thanks for your reply, I have now added a small tooltip which will show up above the blue arr…"
19 hours ago
John Bizley replied to John Bizley's discussion Latest Photos Module Slideshow ( Not Using Flash ) ** CODE NOW ADDED**
"Just added the code on my site for this and can be found here:
http://creativenetwork.ning.com/foru&hellip;"
22 hours ago
John Bizley replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Just added all the code for my social channel pages with the menu code to my site, you can find it…"
22 hours ago
Brian Antezana replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Thanks for the reply. It was just something I was thinking about since, in my experience, if someth…"
yesterday
John Bizley replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Hi Brian. I will be adding a tooltip which will pop up so they know what the arrow does but most wi…"
yesterday
John Bizley replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Thanks George, will pop the code up a little later on my site."
yesterday
Brian Antezana replied to John Bizley's discussion New View Videos Menu Item Added To Social Channels Pages On Creative Network (UPDATED: Code now added)
"Do you think that it would just be better to show the videos by default incase other people do not…"
yesterday
More…