Sie sind nicht angemeldet.

1

Mittwoch, 12. Oktober 2016, 11:17

Embed HTML Code

Hi

I'am working on a disclaimer page inside KrPano that can be toggled to get more information about the object. I have no problem to load images and display text there but i wondered if it's possible to embed a Youtube Video there or something from another provider that gives me the embedding code?

Thanks for your answers!

Sven

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »sr_raumgleiter« (12. Oktober 2016, 11:40)


Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Mittwoch, 12. Oktober 2016, 12:58

You can use textfield plugin

Quellcode

1
2
3
4
5
6
7
<plugin name="text"
	url="textfield.swf"
	html="[iframe src='URL'][/iframe ]"
	align="lefttop" x="10" y="10"
	width="200"
	height="100"
/>



but only in HTML5


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Donnerstag, 13. Oktober 2016, 09:46

works like a charm. thank you!

Extended the code with some additional information beside the src url. (width, height, aso..)

Sven

4

Dienstag, 21. März 2017, 07:30

embed <div> element

i would like to embed 3d model on sketchfab. how to do
the code of sketchfab is

Quellcode

1
2
3
4
5
6
7
8
<div class="sketchfab-embed-wrapper"><iframe width="640" height="480" src="https://sketchfab.com/models/aba23531911c45439067a6e0aaccad07/embed" frameborder="0" allowvr allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>

<p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;">
    <a href="https://sketchfab.com/models/aba23531911c45439067a6e0aaccad07?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Kokura Castle</a>
    by <a href="https://sketchfab.com/avatta?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">AVATTA</a>
    on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campain=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a>
</p>
</div>

sonance

Anfänger

Beiträge: 4

Wohnort: Smallfield

Beruf: Creative Generalist

  • Nachricht senden

5

Mittwoch, 30. August 2017, 10:17

Try this code, it shows the Sketchfab model properly. Replace the the iframe source to your model's url:

<plugin name="text"
url="textfield.swf"
html="[iframe src='https://sketchfab.com/models/0000000000000000000000000000000/embed' frameborder='0' allowvr allowfullscreen mozallowfullscreen='true' webkitallowfullscreen='true' onmousewheel='' width='640' height='360'][/iframe ]"
align="center" x="10" y="10"
width="auto"
height="auto"
/>

6

Montag, 4. September 2017, 08:03

that's great. i also set the embed code with some parameter such as autostart=1 transparent=1 . it works with autostart but transparent. and it works in html files.
i wonder if it doesn't work because of textfield.swf?