How can I insert an iframe object?

Just starting out? Need help? Post your questions and find answers here.
elread
Posts: 3
Joined: Fri Mar 18, 2016 9:56 pm

How can I insert an iframe object?

Post by elread »

How can I insert <iframe>...</iframe> to the spiderbasic page? For example, Youtube iframe.
User avatar
Arbrakaan
Posts: 91
Joined: Mon Feb 24, 2014 10:54 pm
Location: Geneva
Contact:

Re: How can I insert an iframe object?

Post by Arbrakaan »

Hi elread,

Use WebGadget() :

Code: Select all

OpenWindow(0,0,0,WindowWidth(0),WindowHeight(0),"iFrame",#PB_Window_Background)
WebGadget(1, 10, 10, 500, 500, "https://www.youtube.com/embed/ohmajJTcpNk")
elread
Posts: 3
Joined: Fri Mar 18, 2016 9:56 pm

Re: How can I insert an iframe object?

Post by elread »

Oh, that was easy :) Thanks.
But to be precise, I think I need to write here another way that we can use <iframe>:
OpenWindow(0,0,0,WindowWidth(0),WindowHeight(0),"iFrame",#PB_Window_Background)
WebGadget(1, 10, 10, 500, 500, "http://127.0.0.1:9080/youtube.html")
Post Reply