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:
Patrice Chalin 2017-01-20 08:40:51 -08:00 committed by Filipe Silva
parent a25842009e
commit 457412ae29
1 changed files with 1 additions and 1 deletions

View File

@ -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>