You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "erisu (via GitHub)" <gi...@apache.org> on 2026/03/25 08:29:02 UTC
Re: [PR] doc: add section for using native Browser features [cordova-plugin-camera]
erisu commented on PR #940:
URL: https://github.com/apache/cordova-plugin-camera/pull/940#issuecomment-4124675042
I wonder if this could be shortened.
For Example:
```markdown
> [!NOTE]
> Depending on your use case, this plugin may be unnecessary.
>
> We strongly recommend using the WebView's native `<input type="file" accept="image/*" capture>` element before opting for this plugin.
>
> The example above demonstrates how to capture an image. If you only need to select an existing image, simply remove the `capture` attribute.
>
> For more information:
>
> - [MDN – HTML element: `<input type="file">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file)
> - [MDN – HTML attribute: `accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept)
> - [MDN – HTML attribute: `capture`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/capture)
> - [web.dev – Capturing an image from the user](https://web.dev/articles/media-capturing-images)
>
> For advanced use cases, this plugin may be appropriate.
```
While the detailed examples are helpful, standard web development topics may be out of scope for this documentation. A short note pointing out the recommendation and guiding users to external resources for further research might be sufficient, allowing this doc to stay focused on the plugin.
What do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org