I have a question regarding embed a youtube video into WebScene. I have some points that have a text type attribute field populated with youtube URL`s.
When in WebScene I click one of those points, in the right part appears the attributes (see print attached). After I click the URL from the point selected, a new tab will appear redirecting to Youtube due to URL. What I want is to appear the video intro the WebScene and not to open a new tab to Youtube.
Is that possible? Can you help me with this? I need to do this in 24-30 hours...
Thank you !!!
yeah its possible to.Instead of writing the url as just an attribute. Iframe it within the information tab. But wat i cant seem to make the video do is play full screen.
Make an object attribute in city engine with one model clicked.
Give it a name and make sure the type is STR
Then for the value input a code like this one.
<iframe width="560" height="315" src="http://www.youtube.com/embed/jofNR_WkoCE" allowfullscreen></iframe>
Yes this is it !! Another option what I did was changing the attribute in ArcMap. Instead of URL I copied the embed text. I will test this right now.
Thanks you very much !!
You are most welcome. I viewed your web-scene and saw a very nice soccer stadium and animated water.Could you give me pointers on doing the same since i cant get exactly how to animate water.
That was another scene, the question was for the one I work now, but thank you very much !
Well, the soccer stadium was a .dae file and for the water I imported a vector polygon, and for having that water effect just add "__water" to the name in city engine and export it. The WebViewer automatically does that texture in browser when having that part of the name added. For example having a polygon type for Atlantic Ocean-> add underscore underscore water (Atlantic Ocean__water) and export it.
I want to simulate a flooding in a town and I have some points symbolized as push-pins . When I click the one of the push-pin I want in the information area( in the right, with green color) to appear to video that shows the flood from that place. I embed the video but the videos are half sized. I attached a print . Any suggestion? Thanks !!