Legacy Knowledge Base
Published Jul. 2, 2025

Accessing the phone camera on button click event in phone's web browser.

Written By

Amit Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • How to access the phone camera on a button click event in the phone's web browser?

Environment

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2

Resolution

  • Liferay doesn't have any OOTB feature or configuration in order to fulfill this business-specific requirement.
  • This might be achievable with some sort of customization. Hence, please connect with your development team on the same. For further assistance from Liferay, you can connect with our Global Services Team because giving recommendations, development ideas fall within the scope of the Global Services team.  You can connect with the GS team through your sales representative as this is paid initiative.

Additional Information

Below are some unofficial articles which might be helpful in this scenario. However, please follow the approach given in the article at your discretion:

  1. Camera and Video Control with HTML5
  2. Access Camera in Liferay portlet
  3. HTML5: camera access
  4. How to access a mobile's camera from a web app?
Did this article resolve your issue ?

Legacy Knowledge Base