MP3 via Flash

Mehr
1 Monat 1 Woche her - 1 Monat 1 Woche her #194620 von Niklas1704
MP3 via Flash wurde erstellt von Niklas1704
Hey guys,

I am trying to implement an MP3-File via Flash into one of my questions. I uploaded it into the resources of my survey and was able to choose it when designing the question. A box with a red "Flash" appears in the preview. When I want to try it, there is no flash interface, just a plain box where the flash player should be. I am using the flash feature in the question interface. What am I doing wrong?

Cheers
Letzte Änderung: 1 Monat 1 Woche her von Niklas1704.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
1 Monat 1 Woche her #194626 von Joffm
Joffm antwortete auf MP3 via Flash
Hi,
I should recommend you use the <audio> tag:

Here with controls
<audio controls="">
<source src="http://www.example.com/path_to_file/filename.mp3" type="audio/mpeg" /> 
Your browser does not support the audio element.
</audio>

Or controls and autoplay
<audio controls="" autoplay="">
<source src="http://www.example.com/path_to_file/filename.mp3" type="audio/mpeg" /> 
Your browser does not support the audio element.
</audio>

Always consider the end of life of flash.
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194628 von Niklas1704
Niklas1704 antwortete auf MP3 via Flash
Hey Joffm,

I used your code and inserted the path from my Limesurvey resources. In the preview I could see and use the player as expected. When I press "save" the preview box clears and all what remains ist "Your browser does not support the audio element." Do I have to use another file hoster or is it a problem regarding the XSS-Filter?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194631 von tpartner
tpartner antwortete auf MP3 via Flash
Have you disabled the XSS filter in your security settings?

What do you see in source mode after saving the question?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194637 von Niklas1704
Niklas1704 antwortete auf MP3 via Flash
Hey again,

I think I am not able to change setting of the XSS. I am not the admin of the tool for my university. I already asked them to change it.

What I can see in source mode is attached. I am using chrome btw.

Thank you so much!
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194640 von tpartner
tpartner antwortete auf MP3 via Flash
That is the XSS filter removing your <audio> element. You will have to get that filter disabled.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194672 von Niklas1704
Niklas1704 antwortete auf MP3 via Flash
Hey,

my Admin is not willing to disable that filter. The same problem occurs when I try to use Vimeo or Youtube. Is there any other way?

Cheers

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194678 von DenisChenu
DenisChenu antwortete auf MP3 via Flash
I think it was fixed in last version : github.com/LimeSurvey/LimeSurvey/commit/...893a4db617c62f2142dc

But not in 3.X : you can try to report it as an issue in 3.LTS

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her - 1 Monat 1 Woche her #194695 von Niklas1704
Niklas1704 antwortete auf MP3 via Flash
Hey,

another option would be to use Vimeo or Youtube. I tried that but after saving the question the Vimeo-Element disappeared. I was able to watch the video in the preview. Now I can see this in source mode:

<div class="videodetector"> </div>

<p> </p>



Thanks
Letzte Änderung: 1 Monat 1 Woche her von Niklas1704.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Monat 1 Woche her #194704 von holch
holch antwortete auf MP3 via Flash
Das dürfte alles das selbe Problem sein. Der XSS-Filter löscht solchen Code aus Sicherheitsgründen.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
3 Wochen 22 Stunden her #195560 von Niklas1704
Niklas1704 antwortete auf MP3 via Flash
Could not get the permission. My Admin did not care at all. I had to change to another tool. Easy Peasy, Lime Squeazy. Survey is finished.
But thanks, much appreciated!

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha