Foren
Not able to embed the "layout_2.swf" in the jsp file in liferay 7GA4 CE
Dayanand Tiwari, geändert vor 6 Jahren.
Not able to embed the "layout_2.swf" in the jsp file in liferay 7GA4 CE
Junior Member Beiträge: 91 Beitrittsdatum: 25.05.17 Neueste Beiträge
While trying to embed the swf file into view.jsp for the portlet, not able to do so and getting error as Failed to load resource: the server responded with a status of 404 (Not Found).
Below is the code for the same:
<embed width="100%" height="100%" src="layout_2.swf" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" align="middle" play="true" loop="true" scale="noscale" wmode="window" devicefont="false" bgcolor="#ffffff" name="layout_2" menu="true" allowfullscreen="true" allowscriptaccess="sameDomain" salign="" type="application/x-shockwave-flash"></embed>
Can anyone please help me on getting this layout_2.swf loaded in jsp and display things.
Below is the code for the same:
<embed width="100%" height="100%" src="layout_2.swf" quality="high" pluginspage="http://www.adobe.com/go/getflashplayer" align="middle" play="true" loop="true" scale="noscale" wmode="window" devicefont="false" bgcolor="#ffffff" name="layout_2" menu="true" allowfullscreen="true" allowscriptaccess="sameDomain" salign="" type="application/x-shockwave-flash"></embed>
Can anyone please help me on getting this layout_2.swf loaded in jsp and display things.
David H Nebinger, geändert vor 6 Jahren.
RE: Not able to embed the "layout_2.swf" in the jsp file in liferay 7GA4 CE
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
you can't use relative paths because after the portal has aggregated your content into a portal page, the path in the URL has no access to a relative layout_2.swf file.
Dayanand Tiwari, geändert vor 6 Jahren.
RE: Not able to embed the "layout_2.swf" in the jsp file in liferay 7GA4 CE
Junior Member Beiträge: 91 Beitrittsdatum: 25.05.17 Neueste Beiträge
Thanks for quick reply. Now i fixed that path issue.
But the flash player is not fitting properly into the browser.
Can you please suggest something on this?
But the flash player is not fitting properly into the browser.
Can you please suggest something on this?