Page 1 of 1

URL In html component

Posted: Mon May 12, 2014 3:13 pm
by Johnny6773854

Hi

I have a rss feed with a URL in it. Then I have a page with a html component on it.
I want to embed that url in that hml competent with the embed tag. I know hwo to use the embed tag but I do not know how to get that url value.

Image


URL In html component

Posted: Mon May 12, 2014 3:28 pm
by Evgene Karachevtsev

Hello Johnny,

You can use Appery.io link component for your purpose: http://docs.appery.io/documentation/u...


URL In html component

Posted: Mon May 12, 2014 3:34 pm
by Johnny6773854

No dont want to use the link component. I want to embed a video in the html component. code<embed scr="">/code


URL In html component

Posted: Mon May 12, 2014 4:29 pm
by Johnny6773854

somthing like this codeAppery('html1')&#46;append("<embed scr="+ received_URL + ">");/code

But this is not working.


URL In html component

Posted: Mon May 12, 2014 6:52 pm
by Evgene Karachevtsev

Are there any errors in the browser console?


URL In html component

Posted: Tue May 13, 2014 5:41 am
by Johnny6773854

You dont understand. never mind.


URL In html component

Posted: Tue May 13, 2014 8:54 am
by Kateryna Grynko

Hi Johnny,

Try the following code please:precodereturn '<embed scr="'+ value + '"/>';/code/pre


URL In html component

Posted: Tue May 13, 2014 9:05 am
by Johnny6773854

It work :) thank you!!

In your code the "scr" must be "src".. my mistake in comment above :)
codereturn '<embed src="'+ value + '"/>'; /code

Lol now all the videos start playing. But the code works and I thank you!!


URL In html component

Posted: Tue May 13, 2014 9:21 am
by Kateryna Grynko

Johnny,

Glad it's working :)