P phast Member Licensed User Longtime User Aug 9, 2012 #1 I am trying to use Webview to call an iframe of a flash player. The problem is the flash player thinks the device is in landscape view and states "this player does not support landscape view, please rotate your device to portrait view" The problem is the device IS in portrait view. Can I set the webview window width and height? or somehow tell the flash player I am in portrait view? here is a snippet: Code: Copy WebView1.Initialize("WebView1") WebView1.JavaScriptEnabled=True WebView1.LoadUrl("<iframe width='490' height='960' src='http://player.liquidcompass.net/p/CCR1IR'></iframe>")
I am trying to use Webview to call an iframe of a flash player. The problem is the flash player thinks the device is in landscape view and states "this player does not support landscape view, please rotate your device to portrait view" The problem is the device IS in portrait view. Can I set the webview window width and height? or somehow tell the flash player I am in portrait view? here is a snippet: Code: Copy WebView1.Initialize("WebView1") WebView1.JavaScriptEnabled=True WebView1.LoadUrl("<iframe width='490' height='960' src='http://player.liquidcompass.net/p/CCR1IR'></iframe>")
Ricky D Well-Known Member Licensed User Longtime User Aug 9, 2012 #2 Do you have a landscape layout defined. I use webviews as tables in my personal apps and I create a portrait layout and a landscape one with the webview resized. Regards, Ricky Upvote 0
Do you have a landscape layout defined. I use webviews as tables in my personal apps and I create a portrait layout and a landscape one with the webview resized. Regards, Ricky
P phast Member Licensed User Longtime User Aug 9, 2012 #3 Ricky D said: Do you have a landscape layout defined. I use webviews as tables in my personal apps and I create a portrait layout and a landscape one with the webview resized. Regards, Ricky Click to expand... I do NOT have a landscape layout defined. Currently the app can only be run via a portrait layout. Currently designed for 320x480 If it helps, the webview window itself is sized to 190x290 Last edited: Aug 9, 2012 Upvote 0
Ricky D said: Do you have a landscape layout defined. I use webviews as tables in my personal apps and I create a portrait layout and a landscape one with the webview resized. Regards, Ricky Click to expand... I do NOT have a landscape layout defined. Currently the app can only be run via a portrait layout. Currently designed for 320x480 If it helps, the webview window itself is sized to 190x290
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2012 #4 It is not related to the layouts created. It seems to be a bug in the Flash player. You can try to download the frame source and then show it directly (not inside an iframe). Upvote 0
It is not related to the layouts created. It seems to be a bug in the Flash player. You can try to download the frame source and then show it directly (not inside an iframe).
P phast Member Licensed User Longtime User Aug 9, 2012 #5 Erel said: It is not related to the layouts created. It seems to be a bug in the Flash player. You can try to download the frame source and then show it directly (not inside an iframe). Click to expand... I tried with a different player and it worked flawlessly. Thank you for the help and sorry about the trouble. Upvote 0
Erel said: It is not related to the layouts created. It seems to be a bug in the Flash player. You can try to download the frame source and then show it directly (not inside an iframe). Click to expand... I tried with a different player and it worked flawlessly. Thank you for the help and sorry about the trouble.