sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    YouTube Ruby

    Scheduled Pinned Locked Moved Developers' Forum
    14 Posts 6 Posters 1.1k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JClementsJ Offline
      JClements
      last edited by JClements

      Anyone familiar with this script?

      I can't seem to get it to play the embedded Video link.

      A window appears with the video, but then it disappears/closes after a second or two. (I carefully cut and pasted the YouTube embed info into the script dialog so it should work unless the script itself has a bug).

      =========================================
      [UPDATED 19 June 08]

      It works like a champ now (download new model and script).

      The latest version:
      http://morisdov.googlepages.com/YouTubePlugin.zip

      The Learning Cube (YouTube script demo).jpg


      The Learning Cube (YouTube script demo).skp

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • P Offline
        princedragoncok
        last edited by

        This works fine for me, unfortunately it is not truely embedded like TBD's Video Textures for SketchUp. Still though, pretty useful - who made this?
        I use firefox btw - doesn't seem to make a difference though

        1 Reply Last reply Reply Quote 0
        • T Offline
          todd burch
          last edited by

          Doesn't work on a Mac.

          YouTube videos do work in a webdialog - I've done several of them so far.

          Todd

          1 Reply Last reply Reply Quote 0
          • T Offline
            todd burch
            last edited by

            (Matter of fact, a script I'm working on now will have the whole Help system as YouTube videos)

            1 Reply Last reply Reply Quote 0
            • P Offline
              princedragoncok
              last edited by

              Hold on I got it to work fine - make sure you 'embed' it though


              youtube2.jpg

              1 Reply Last reply Reply Quote 0
              • P Offline
                princedragoncok
                last edited by

                This doesn't seem to work actually. I can play the embedded link from the skp uploaded here, but when I try to embed my own, a blank screen pops up with the url address.
                I'm on a pc btw

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mateo soletic
                  last edited by

                  I got it to work too, any way to make the dialog box smaller, mine is a mile long.

                  [Concept Illustrations](http://concept-illustrations.com/)

                  1 Reply Last reply Reply Quote 0
                  • JClementsJ Offline
                    JClements
                    last edited by

                    Prince:

                    The Creator >> Copyright 2008, Moris Papasmadov, dovmoris@gmail.com

                    Got the script from the ruby depot
                    ( http://www.crai.archi.fr/RubyLibraryDepot/Ruby/en_ren_page.htm )

                    I did what you showed above. This is how I pasted the embedded info into the ruby dialog.

                    John | Illustrator | Beaverton, Oregon

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      princedragoncok
                      last edited by

                      Are you a mac user? Maybe you need to upgrade your flash??

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by

                        The script's homepage is here:

                        http://morisdov.googlepages.com/

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • JClementsJ Offline
                          JClements
                          last edited by

                          Model updated using latest version of the script.

                          See the first posting for updated links and model.

                          John | Illustrator | Beaverton, Oregon

                          1 Reply Last reply Reply Quote 0
                          • JClementsJ Offline
                            JClements
                            last edited by

                            Working With CAD.jpg


                            Working With CAD.skp

                            John | Illustrator | Beaverton, Oregon

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Gultekinmg
                              last edited by

                              Great Script. Every idea comes to my mind for SU usage, i look first SUcat if someone already did it.
                              I hope scriptmasters evaluate that at their masterpieces for a simple right click video-demonstration
                              on "plugin menu items.." instead models. 😄 i'll try that.

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Gultekinmg
                                last edited by

                                suscreen
                                That helps me inject "Help" codes into each script i do not remember how it is operated.

                                just changed a few codes on youtube embed.

                                    m.add_item('HELP..clean3..') {
                                    link_value='<object style="height; 390px; width; 640px"><param name="movie" value="http://www.youtube.com/v/seJYub0LCmQ?version=3&feature=player_profilepage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/seJYub0LCmQ?version=3&feature=player_profilepage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>
                                	'
                                    @dlg = UI;;WebDialog.new "CleanUp³ YouTube Help "
                                    html_string = "<html><body leftmargin=1 topmargin=1 bottommargin=0 marginwidth=0 marginheight=0>" +
                                	link_value + 	" </body></html>"
                                    @dlg.set_html html_string
                                    @dlg.set_size 680, 410
                                    @dlg.show
                                    p html_string
                                    }
                                
                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement