Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

Hey gang,

We're trying to embed a Javascript video player into a page within our app, but it only will show if it's in the starting page. This is the same problem with either the phone or the tablet app.

Do we need to pay more to unlock sub-page custom HTMLs? Is Javascript disabled on anything but the first page of the app? Any and all help would be appreciated, we're very new to development and need to decide if Appery.IO is where we should place our business.

Thanks,
Chris Murphy
XiveTV

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Custom HTML Not Loading

Hello -

It is not very clear how exactly it is working for you on a 'startpage', but not on any other, could you please show examples of your implementations?

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

Hey Illya,

Currently we're trying to make this work on a phone screen.

We have, right now, a very rudimentary app design: A main page ('startscreen') and a videos page ('VIDEOS'). The main page has a button to the videos page, and the videos page has a 'back' button to return to the start screen. Other than that, they both have the same exact embedded custom HTML for our video player.

Here are screenshots of them both in the developer and the testing service:

Image Image Image Image

As you can see, we clearly have a video player on the startscreen, but none on the 'VIDEOS' page. It's the same HTML code in both instances of embedded HTML.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Custom HTML Not Loading

Is it possible to show the source code for this both HTML elements? Or you can share you app with us and tell us its name.

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

The app's name is XiveTV Worldwide. Here's the HTML code:

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

Wait, that didn't work. Here is is without brackets:

script type="text/javascript" src="http://content.jwplatform.com/players...

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

Wait, that didn't work. Here it is without brackets:

script type="text/javascript" src="http://content.jwplatform.com/players..." /script

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Custom HTML Not Loading

You can use here: precode<code>< /code>/code/pre

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

Hey Illya, I'm confused, do we wrap that around the entirety of our Javascript? It doesn't seem to be doing much.

Alliant Content
Posts: 0
Joined: Thu Apr 16, 2015 5:29 pm

Custom HTML Not Loading

If this helps, the HTML we're trying to embed is a JWPlayer frame. We can get it to work if we switch the code to this (I've deleted the brackets:)

iframe src="http://content.jwplatform.com/players..." width="480" height="270" frameborder="0" scrolling="auto" /iframe

But that won't work for us because we need the player to re-size based on the user's phone.

Return to “Issues”