Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

URL In html component

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

URL In html component

Hello Johnny,

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

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

URL In html component

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

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

URL In html component

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

But this is not working.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

URL In html component

Are there any errors in the browser console?

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

URL In html component

You dont understand. never mind.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

URL In html component

Hi Johnny,

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

Johnny6773854
Posts: 0
Joined: Mon Mar 31, 2014 7:11 am

URL In html component

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!!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

URL In html component

Johnny,

Glad it's working :)

Return to “Issues”