example(security): display video URL (#3122)
Simplify the example by just displaying the videoUrl (the string value of which is contained in `dangerousVideoUrl`). We don’t need the URL to be changeable anymore than we need the dangerousUrl to be editable. Fixes #3121
This commit is contained in:
parent
a25842009e
commit
457412ae29
|
@ -10,7 +10,7 @@
|
|||
|
||||
<!--#docregion iframe -->
|
||||
<h4>Resource URL:</h4>
|
||||
<p><label>Showing: <input (input)="updateVideoUrl($event.target.value)"></label></p>
|
||||
<p>Showing: {{dangerousVideoUrl}}</p>
|
||||
<p>Trusted:</p>
|
||||
<iframe class="e2e-iframe-trusted-src" width="640" height="390" [src]="videoUrl"></iframe>
|
||||
<p>Untrusted:</p>
|
||||
|
|
Loading…
Reference in New Issue