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

Bizz ( John ) replied to Bizz ( John )'s discussion New Feature On My Demo Site: Filtering The Activity Feed
"Thanks Kyrl that's great to hear  :-)"
40 minutes ago
Bizz ( John ) replied to Bizz ( John )'s discussion Enhance Your Social Channels Player ( All code I have used on my site )
"Your welcome Dan, glad you liked it. :-)"
41 minutes ago
Bizz ( John ) replied to Bizz ( John )'s discussion Enhance Your Social Channels Player ( All code I have used on my site )
"Thanks Giovanni :-)"
42 minutes ago
Dan Lee replied to Bizz ( John )'s discussion Enhance Your Social Channels Player ( All code I have used on my site )
"Thank you! Ning need to put you on payroll. You are a beast!"
1 hour ago
Kyryl_Ning_Support replied to Bizz ( John )'s discussion New Feature On My Demo Site: Filtering The Activity Feed
"Hi John,
Looks really interesting. I have already passed this suggestion to the management.
Thanks,…"
2 hours ago
Maessa Cucatti is now a member of Ning Creators Network
2 hours ago
Bizz ( John ) replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Hi Jesse
There are a lot nc's willing to help on the Creators forum, if you post some questions int…"
7 hours ago
Jesse Hutson replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Hi I realize I am just a beginner at this, and not very versed in all that is going on.  It's OK, I…"
12 hours ago
Kos replied to Bizz ( John )'s discussion New Feature On My Demo Site: Filtering The Activity Feed
"Hey John, maybe they're hiring.  lol"
20 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion How To Change A Multi Category Select Box Into A Single One
"Thanks JF :-)"
yesterday
Neil Bekemeyer is now a member of Ning Creators Network
yesterday
Kos replied to Bryce Rubio's discussion A Message from Our CEO
"The prior owners probably were in the middle of this build when the sale (and their layoff) was ann…"
yesterday
Dan Lee replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Great to see you guys on top of things, brings joy to my heart. Keep up the great work guys. By the…"
yesterday
Dan Lee replied to Bryce Rubio's discussion A Message from Our CEO
"And everything said here. lol"
yesterday
Dan Lee replied to Bryce Rubio's discussion A Message from Our CEO
"More storgespace would be nice! Need more than 1gb.
A easy way to  add theme for uploading videos.…"
yesterday
Kos replied to Bryce Rubio's discussion A Message from Our CEO
"To clarify.  #10 above I would say a slider that actually plays off a category.  Why offer category…"
yesterday
Kos replied to Kos's discussion Something New Has Appeared
"Well that's pretty stupid.  Why offer 'category' if it doesn't play from it.  *sigh*  It figures. …"
yesterday
Bizz ( John ) replied to Kos's discussion Something New Has Appeared
"It's not broken as such, it won't play from a category. You have to select one of the standard ones…"
yesterday
Kos replied to Kos's discussion Something New Has Appeared
"Yeah the slideshow doesn't like me.  I haven't gotten around to trying to repair it."
yesterday
⚡JFarrow⌁ commented on Fraser J. Hay's blog post I need a customised signup/splash page? in Hire a Creator
"ill send you my contact info..."
yesterday
More…