Compare commits

..

No commits in common. "076eea98d29e7f0b8dc218bc215ceaf7656bb39a" and "d5f94735c93c659fbe0016c5fdcc640f6d270c77" have entirely different histories.

2 changed files with 0 additions and 17 deletions

View File

@ -1,14 +0,0 @@
bricks = window.bricks || {};
bricks.GlbViewer = class extends class bricks.VBox {
constructor(opts){
super(opts);
this.dom_element.innerHTML=`<model-viewer
src="${this.opts.url}"
auto-rotate
camera-controls
style="width: 100%; height: 100vh;">
</model-viewer>`
}
}
bricks.Factory.register('GlbViewer', bricks.GlbViewer);

View File

@ -32,9 +32,6 @@
<script src="{{entire_url('/bricks/3parties/recorder.wav.min.js')}}"></script>
<script src="{{entire_url('/bricks/3parties/hls.js')}}"></script>
<script src="{{entire_url('/bricks/3parties/dash.all.min.js')}}"></script>
<script type="module"
src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js">
</script>
<script src="{{entire_url('/bricks/bricks.js')}}"></script>
{% for myjs in jsfiles() %}
<script src="{{entire_url(myjs)}}"></script>