jw-showcase-appletv
jw-showcase-appletv copied to clipboard
Issue with the URL
The app works when i push it to the apple device but then i'm having issues with URL for hosting my files. I tried using google drop box and says token issue. Then i try to use local web server and i get error, can't remember the error but the only website works is the demo. The other question i have why is that i have to use a web server to host this file, or is there another way or place to put this on jw player or apple at the end?
Hi Scott. We pull as much of the code and config info as possible from the cloud so that you don't have to resubmit your app to the Apple store every time you want to make an update.
Dropbox won't work b/c it's a file storage service, not a web server. Using a static web site in Amazon S3 with your own domain is a good and affordable option. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
John,I'm using amazon s3 still getting errors popping the files. do I need include both folders in amazon cloud to access it?
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone -------- Original message --------From: John Luther [email protected] Date: 12/13/16 7:31 AM (GMT-06:00) To: jwplayer/jw-showcase-appletv [email protected] Cc: scottastafford5 [email protected], Author [email protected] Subject: Re: [jwplayer/jw-showcase-appletv] Issue with the URL (#69) Hi Scott. We pull as much of the code and config info as possible from the cloud so that you don't have to resubmit your app to the Apple store every time you want to make an update. Dropbox won't work b/c it's a file storage service, not a web server. Using a static web site in Amazon S3 with your own domain is a good and affordable option. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/jwplayer/jw-showcase-appletv","title":"jwplayer/jw-showcase-appletv","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/jwplayer/jw-showcase-appletv"}},"updates":{"snippets":[{"icon":"PERSON","message":"@johnluther in #69: Hi Scott. We pull as much of the code and config info as possible from the cloud so that you don't have to resubmit your app to the Apple store every time you want to make an update. \r\n\r\nDropbox won't work b/c it's a file storage service, not a web server. Using a static web site in Amazon S3 with your own domain is a good and affordable option. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html\r\n"}],"action":{"name":"View Issue","url":"https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-266738803"}}}
Just the jwplayer-appletv-web-app folder. I'd also recommend renaming the folder to something shorter, for example tvosapp.
Everything works perfect but now anytime i run xcode i get error on if let kindstr = as? String {
Error Cast from UIApplicationLaunchOptionkey to unrelated type string always fails.
On Tue, Dec 13, 2016 at 3:05 PM, John Luther [email protected] wrote:
Just the jwplayer-appletv-web-app folder. I'd also recommend renaming the folder to something shorter, for example tvosapp.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-266861647, or mute the thread https://github.com/notifications/unsubscribe-auth/AWYGv5OfQMq0n7sRne0IxLMeFFGRx7d-ks5rHwiEgaJpZM4LLQmx .
-- Thanks,
Scott Stafford
Did you make any other changes to the AppDelegate.swift file other than the URL variables?
Nope, even if I start over i get same error using default varibles.
On Wed, Dec 14, 2016 at 12:54 PM, John Luther [email protected] wrote:
Did you make any other changes to the AppDelegate.swift file other than the URL variables?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-267122066, or mute the thread https://github.com/notifications/unsubscribe-auth/AWYGvwnW5Qhk-OuyIWyJCE8B6ABpQ947ks5rIDt1gaJpZM4LLQmx .
-- Thanks,
Scott Stafford
Hi @scottastafford5. I would be glad to assist you. Can you please email me at [email protected] so I can further trouble shoot your issue? Thanks.
I was going through all this trouble to try and ad this file to my managed wordpress site through godaddy although I was not sure why I was using my website since I would only be using the jwplayer video tied to it's API and playlists. Is this thread suggesting that I could just create a folder in S3 and pull from that instead? Assuming I make the changes prior to uploading I suppose.
I finally got everything working right, i put my config file into S3 then used Xcode for the rest the app such. The S3 i had issues with webpage and permissions trying to access during testing but finally all up.
On Mon, Mar 13, 2017 at 11:36 AM, onlyinmystreams [email protected] wrote:
I was going through all this trouble to try and ad this file to my managed wordpress site through godaddy although I was not sure why I was using my website since I would only be using the jwplayer video tied to it's API and playlists. Is this thread suggesting that I could just create a folder in S3 and pull from that instead? Assuming I make the changes prior to uploading I suppose.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-286164257, or mute the thread https://github.com/notifications/unsubscribe-auth/AWYGv95ccLRgN715IivbCR_xf7_WML7bks5rlXB4gaJpZM4LLQmx .
-- Thanks,
Scott Stafford
@scottastafford5 I am getting an error too and wonder if this was the same thing you saw.... If so, what wound up being your fix? Thanks.
2017-03-14 07:21:23.362 jwplayer-for-tv[989:75114] ITML <Error>: SyntaxError: Unexpected token '<'...{ line = 1; sourceURL = "http://xxxxxxxx-xxxxxx.s3-website-us-east-1.amazonaws.com/js/application.js"; }
Send me private message with your project [email protected] and I can take a look at it.
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone -------- Original message --------From: onlyinmystreams [email protected] Date: 3/14/17 12:17 PM (GMT-06:00) To: jwplayer/jw-showcase-appletv [email protected] Cc: scottastafford5 [email protected], Mention [email protected] Subject: Re: [jwplayer/jw-showcase-appletv] Issue with the URL (#69) @scottastafford5 I am getting an error too and wonder if this was the same thing you saw.... If so, what wound up being your fix? Thanks. 2017-03-14 07:21:23.362 jwplayer-for-tv[989:75114] ITML : SyntaxError: Unexpected token '<'...{
line = 1;
sourceURL = "http://xxxxxxxx-xxxxxx.s3-website-us-east-1.amazonaws.com/js/application.js";
}
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/jwplayer/jw-showcase-appletv","title":"jwplayer/jw-showcase-appletv","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/jwplayer/jw-showcase-appletv"}},"updates":{"snippets":[{"icon":"PERSON","message":"@onlyinmystreams in #69: @scottastafford5 I am getting an error too and wonder if this was the same thing you saw.... If so, what wound up being your fix? Thanks.\r\n\r\n2017-03-14 07:21:23.362 jwplayer-for-tv[989:75114] ITML \u003cError\u003e: SyntaxError: Unexpected token '\u003c'...{\r\n line = 1;\r\n sourceURL = "http://xxxxxxxx-xxxxxx.s3-website-us-east-1.amazonaws.com/js/application.js";\r\n}\r\n"}],"action":{"name":"View Issue","url":"https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-286494091"}}}
I'm also having issues connecting the app to my ftp. Any advice is appreciated.
@tuck11 are you hosting on AWS? I finally able to get it going yesterday.
What is it setup? Are u using aws s3 to hold config files?
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone -------- Original message --------From: tuck11 [email protected] Date: 3/20/17 7:30 PM (GMT-06:00) To: jwplayer/jw-showcase-appletv [email protected] Cc: scottastafford5 [email protected], Mention [email protected] Subject: Re: [jwplayer/jw-showcase-appletv] Issue with the URL (#69) I'm also having issues connecting the app to my ftp. Any advice is appreciated.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/jwplayer/jw-showcase-appletv","title":"jwplayer/jw-showcase-appletv","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/jwplayer/jw-showcase-appletv"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tuck11 in #69: I'm also having issues connecting the app to my ftp. Any advice is appreciated."}],"action":{"name":"View Issue","url":"https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-287940160"}}}
Yes. How'd you get it going via AWS?
@tuck11 I had several issues but ultimately I made the mistake of changing the region initially. So just create an S3 bucket and upload the jwplayer-appletv-web-app. Make all the files are marked as read/write in permissions and set to public. It worked after I did that.
just pasting in links from aws and also making sure amazon is set to public and public is set to read only.
On Mon, Mar 20, 2017 at 8:03 PM, tuck11 [email protected] wrote:
Yes. How'd you get it going via AWS?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jwplayer/jw-showcase-appletv/issues/69#issuecomment-287945511, or mute the thread https://github.com/notifications/unsubscribe-auth/AWYGv97hYsoNdTdCINdgC2IAMHxZ0zdCks5rnyHxgaJpZM4LLQmx .
-- Thanks,
Scott Stafford
Hello @scottastafford5 , is this a sensitive information? {"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"}