-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
window["Picture.save_picture_doc_id"].insertAdjacentHTML( | ||
"beforebegin", | ||
`<details class="doc_details"><summary><span style="color:red;">Attention Mac Users</span></summary> | ||
Camera-using methods: <code>Picture.show_picture</code>, | ||
<code>Picture.show_video</code>, | ||
and <code>Picture.take_picture</code> depend on | ||
camera permissions granted by the user. | ||
Calling these methods may pop up a dialog asking | ||
for permission the first time you call them | ||
in a DDE session. But we've had cases where | ||
such dialog boxes are obscured by other windows | ||
or simply don't pop up. In the later case, | ||
often the camera "picture" is blank. | ||
<p></p> | ||
If you use these methods on a Mac, | ||
we strongly suggest that you permit DDE to | ||
have camera access by:<br/> | ||
Apple menu/System Preferences/Security & Privacy/Camera | ||
and check the "dde_dev_env" app. Even if it is already | ||
checked, we've had a case where you must uncheck then | ||
recheck for permissions to be granted. Perhaps this happens | ||
the first time you use a new DDE release. | ||
</details>`) |