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

Mandie is now a member of Creators Dashboard
1 hour ago
Jonathan Aquino, Jie Huang, Pamela Hirschhorn and 7 more joined Ning Creators Network
1 hour ago
Kos replied to Connie enriquez's discussion Feature/functionality question - Member Video Upload
"Uploading videos was allowed under Ning's old 2.0 platform which is being phased out.  The new 3.0…"
2 hours ago
SweetPotato left a comment for Steph Garcia
"Welcome, Steph"
3 hours ago
Kos replied to Vickie's discussion Cannot Upload Photos
"Success! lol"
4 hours ago
SweetPotato replied to Vickie's discussion Cannot Upload Photos
"From Ning on Twitter......

@DeferoLaw Hi there! Our engineering team was able to resolve this issu…"
5 hours ago
Kos replied to Vickie's discussion Cannot Upload Photos
"They are on Pacific time so doors only opened recently.  It'll be a bit (I'm sure lots of tickets p…"
6 hours ago
Kerry A Mateljan replied to Vickie's discussion Cannot Upload Photos
"Did that and still waiting"
6 hours ago
JFarrow replied to Vickie's discussion Cannot Upload Photos
"i managed to grab a screenshot but it won't even let me upload it here"
6 hours ago
Kos replied to Vickie's discussion Cannot Upload Photos
"Since Ning technically doesn't monitor the forums for platform problems, a ticket is the way to go."
6 hours ago
Kerry A Mateljan replied to Vickie's discussion Cannot Upload Photos
"Still having the same problem"
7 hours ago
Vickie replied to Vickie's discussion Cannot Upload Photos
"Thanks for chiming in.  Wasn't sure if we were the only one or not.  Hope it get fixed soon."
7 hours ago
Kos replied to Vickie's discussion Cannot Upload Photos
"Hope everyone has filed a ticket..............."
7 hours ago
Kos replied to Vickie's discussion Cannot Upload Photos
"I can confirm this.  In 2.0 I receive this message http://screencast.com/t/QSgsic2gUtF4
and in 3.0…"
7 hours ago
Jen replied to Vickie's discussion Cannot Upload Photos
"Same here, and on 3.0 sites."
7 hours ago
SweetPotato replied to Steve C's discussion How do I Specify Copyright Years in the Footer of Ning Pages?
"No problem"
7 hours ago
SweetPotato replied to Vickie's discussion Cannot Upload Photos
"Javascript issues by looks of things. Design Studio not working either.
SP"
7 hours ago
Brigitte replied to Vickie's discussion Cannot Upload Photos
"I have the same issue. Thanks for looking into this asap."
7 hours ago
Tim Atkinson replied to Vickie's discussion Cannot Upload Photos
"Had same issue on my 2.0 just now, but photo uploaded in the end after fourth attempt...."
8 hours ago
Steve C replied to Steve C's discussion How do I Specify Copyright Years in the Footer of Ning Pages?
"Thanks, SP. Worked like a charm!"
yesterday
More…