Length of time on htmlpage


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Thanks for the additional details and confirmation. Bug report has been filed accordingly.

Max
Max
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 16, Visits: 118
Okay I tried it on the Win machine and you are right, it works as expected. So that means we found a bug for the Mac version…
I hope it will be fixed with the next update.
ATB, Max

P.S.: here is the win machine info
Version: 4.0.5.0 64bit (build 2444)
Build Date: Mar 14 2014
Build Time: 10:20:49
Expiration Date: Registered
Computer Key: 
Registration Key: 
Platform: Windows NT 6.1; Win64; x64
CPU Speed: 2893
Memory: 4236 KB available of 8043 KB total
Timer resolution: 0.0003538931072947278 milliseconds
IP address: 137.193.126.251
MAC address: 84-A6-C8-1B-C4-D0
Graphics Engine: Direct2D
Color resolution: 32 bits per pixel
Display mode: 1920 x 1080
Refresh Rate: 60 Hz
Videosync support: DXGIWaitForVBlankMode


Max
Max
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 16, Visits: 118
Currently I have no Windows machine around. I will try tomorrow in my office on Win, so stay tuned.
Max

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Interesting, thanks for the details. Might be platform-specific misbehavior. I'm not near a Mac ATM, so here's what I see under Win (which is the expected behavior).

- 1st instruction page loads without delay, one may move on immediately (wait=0).
- 2nd page loads without delay, one may *not* move on prior to at least 5secs elapsing (wait=5000).

What are you seeing under Windows?

Max
Max
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 16, Visits: 118
Okay, then it seems like we have found a bug or I misunderstood the wait attribute.
Let me outline the process step by step:
1. Starting the script
2. Website 1 appears
[Hitting ENTER]
3. Website 1 disappears
[5 seconds waiting time with a white screen]
4. Website 2 appears
[hitting ENTER directly when Website 2 appears]
5. Website 2 disappears without waiting time

Here is my machine information (if it helps):
Version: 4.0.5.0 64bit (build 2444)
Build Date: Mar 13 2014
Build Time: 23:57:06
Expiration Date: Registered
Computer Key:
Registration Key:
Platform: Macintosh; U; Intel Mac OS X 10_9_2; x86_64
CPU Speed: 2300
Memory: 62 KB available of 3263 KB total
Timer resolution: 0.0000010000000000000 milliseconds
IP address:
MAC address:
Graphics Engine: MacOpenGL
Color resolution: 32 bits per pixel
Display mode: 1680 x 1050
Refresh Rate: 60 Hz
Videosync support: WaitForVerticalBlank mode

ATB, Max

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Works as expected for me in Inquisit 4.0.5.0. So, no, I don't have any suggestions other than making sure your Inquisit version is up to date.

Max
Max
Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)Distinguished Member (4.1K reputation)
Group: Forum Members
Posts: 16, Visits: 118
Hey Dave,
I would like to revive this topic. Due to the limited formatting options for the page element, we have to use the htmlpage element. We tried the script you offered here in this thread. Unfortunately, the result is not as intended. The htmlpage will not be displayed for a minimum of 5 seconds but will load delayed by 5 seconds. Any suggestions?

<instruct>
/ wait = 0
</instruct>

<block b1>
/ preinstructions = (website1)
</block>

<block b2>
/ onblockbegin = [instruct.wait=5000]
/ preinstructions = (website2)
</block>

<htmlpage website1>
/ file = "website1.htm"
</htmlpage>

<htmlpage website2>
/ file = "website2.htm"
</htmlpage>

<expt>
/ blocks = [1=b1; 2=b2]
</expt>

ATB, Max


Attachments
website1+2.zip (743 views, 1.00 KB)
iqx+websites.zip (670 views, 1.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K

Is there any way to modify the script so that the video plays as it's loading (similar to how it works on youtube)?


No, that's not currently possible. While such an option may become available at some point, it would have to be used with utter caution: Ever had a Youtube video stutter or freeze? As long as you are watching cute kittens for comic relief, that may not matter much. But if you are using a video for, say, mood induction in a behavioral experiment, you certainly don't want that to happen. And the only way to make sure is to fully download all stimuli (including video) prior to starting the experiment.


That said, we are aware of sometimes slow load times and you can expect things to improve somewhat in future releases.


For the time being, the only option to display streaming videos would be to host them yourself on some server and have Inquisit display the html page with the embedded video.


LibbyLu43
LibbyLu43
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 22, Visits: 1

Hey Dave, for my mac videos, we made them as small as possible without sacrificing quality too much. It's still taking my mac about 5 or 6 minutes to load though which is quite a lot. I'm pretty sure that as of now, the whole video loads, and once that's happened it starts to play. Is there any way to modify the script so that the video plays as it's loading (similar to how it works on youtube)?


Or, do you have any other suggestions on how to get around this 5-6 minute video loading time?


Thanks!


Libby


mbo
mbo
Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)
Group: Forum Members
Posts: 17, Visits: 1

Dave,


You are beautiful!!


Best,


Mary


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search