Skip to content

Commit

Permalink
Merge pull request #3162 from Geoportail-Luxembourg/audio_query_result
Browse files Browse the repository at this point in the history
auto launch sound
  • Loading branch information
rmichaelis authored Jun 28, 2024
2 parents 58624b9 + 91b8f31 commit efd5a97
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ <h4>{{feature.attributes.label | translate }}</h4>
<a ng-if="!(layers.layerLabel.startsWith('myenergy_solarkataster_luxemburg') || layers.layerLabel.startsWith('eau_new_Wasserstand'))&& ctrl.isLink(entry['value'])" ng-href="{{entry['value']}}" target="_blank">{{entry['key'] | translate}}</a>
<a ng-if="layers.layerLabel.startsWith('myenergy_solarkataster_luxemburg') && ctrl.isLink(entry['value']) && entry['key'] == 'f_href'" ng-href="{{entry['value']}}" target="_blank">
<button class="solarkatasterbutton"><span translate>Lien direct vers le calculateur d'efficacité économique</span></button></a>
<span ng-if="ctrl.isLink(entry['value']) && entry['key'] == 'f_AudioURL'">
<audio controls autoplay style="width: 260px; height: 50px">
<source src="{{entry['value']}}" type="audio/wav"/>
</audio>
</span>
<iframe width="260px" height="560px" ng-if="layers.layerLabel.startsWith('eau_new_Wasserstand') && ctrl.isLink(entry['value']) && entry['key'] == 'f_Graph'" ng-src="{{ctrl.getTrustedUrl(entry['value'])}}"></iframe>
</span>
</div>
Expand Down

0 comments on commit efd5a97

Please sign in to comment.