Forum Replies Created
-
-
Hi Martin,
Thanks for your pursuit on this.
I believe my setup is a bit different from what you are explaining.
I have created a custom field where I upload .mp4 files that is then offloaded to my video host.
As a result I have created a template in which link of the video is passed to the shortcode dynamically. This is what the sample shortcode looks like:
[fvplayer splash="https://domain.com/filename.jpg" src="https://domain.com/filename.mp4" qsel="true" width="100%" height="100%" autoplay="false" speed="buttons"]
Do you need me to send a quick video or so showing my setup?
Hello Maria,
Is it a must to have the FV player shortcode embedded in the post content section of the page?
I use a template I don’t use the default post content area to store my content. I use custom fields.
Can you advise?
Hi again,
Thanks for confirming. Currently I don’t use Vimeo, but I have plans to start using it in the next two months there about. So it can be great if it can be sorted by then.
Thanks so much!
Hello Maria,
Thanks for your reply.
I see the approach to the shortcode using the embed, but can it work with a sample shortcode that follows?
‘[fvplayer splash="customfield.jpg" src="customfield.mp4" qsel="true" width="100%" height="100%" autoplay="false" speed="buttons"]‘
Thanks
Hello Martin,
Any updates on this? Any idea as to when option you discussed in 1 above might get to beta?
Hi Martin,
Sounds like a nice solution. I’ll keep an eye out for this update.
Thanks so much, I am able to see stats.
Regards,
KendellHi Martin,
Thanks for the feedback.
1. I followed your instructions and it loads a bit faster.
2. For that particular video there was no transcript uploaded. So this is fine for now. I have to find a way to hide this message.
3. I’ll look into my video hosting. I host with Publitio. So maybe it’s their CDN that’s lagging. Quick question. What tool did you use to test the HLS stream? Can you please share? I’ll like to further look into this issue.
Regards
Hi,
Yes I had this setting on as well.
Please check this link for an example: https://clevered.gd/courses/interpersonal-skills/lesson/communication-skills/
Hi Martin,
I meant the video player takes a longer time to appear. I agree if it’s the first case it will take some more time to load.
Hi Martin,
Noted.
I enabled the Force HD Streaming setting and it takes a long time for the player to appear. Just about 10 seconds before the player loads. Is this a known issue when Force HD Streaming is enabled?
Can you please advise?
Thanks,
KendellHello Martin,
Thanks for the note. I had the chance to check it out.
I see that it remembers the quality I choose. Nice!
I was wondering, is there a filter or hook to over ride the default 30 seconds quality switch? Or maybe even force a particular quality to begin with?
I’m thinking maybe after 10 seconds I can show a 720p video or something of that nature.
Is it possible to do this? Can you please advise? Thanks!
Regards,
KendellHello Martin and Maria,
Many thanks for jumping in on this.
Happy to hear that the quality switching was addressed in the upcoming version. Any ETA?
In terms of the stream loader feature, I can try reaching out to Publitio to find out about their CDN and get back to you guys with more appropriate response on the subject.
Thanks
KendellHi Chiara,
Thanks for reaching out.
I just had the chance to check and it seem as though the issue is still the same (No collapse of the transcript). Meanwhile I have it hidden.
Is there a way I can submit the link and screenshot privately?
Kindly advise. Thanks.
Regards,
KendellHello Chiara,
Thanks for clearing things up. Is it a beta feature? Because when I am on desktop and I click to toggle it doesn’t work on my end. But it works on mobile.
Regards,
Kendell4 years ago in reply to: Transcript Box overlaps in full screen modeThanks,
This css works.
I’ll look out for when the feature you mentioned comes out of beta and give it a try again.
4 years ago in reply to: Transcript Box overlaps in full screen modeHi Martin,
Yes that will be good too. But it is also overlapping the video player. This update should provide that fix as well?
4 years ago in reply to: Transcript Box overlaps in full screen modeHello Martin,
I’ve been trying to get this solution working for a while now, but no luck. The values are passing but the video is not stopping on the timepause.
Is this something pro support can sort out for me? Or is that out of the scope?
Hi Martin,
I’ve been having some issues with getting the video to play and then pause based on the time stops passed in to the player via some custom fields.
So this is my sample code and explanation below :
jQuery(document).ready(function(){ if( typeof(flowplayer) != "undefined" ) { flowplayer( function(api,root) { api.bind('ready', function() {}); var paused = false; api.bind('progress', function(e,api,time) { var timepause = jQuery('.my-custom-popup-content').data("attr"); var fixtime = time.toFixed(); if( !paused && fixtime == timepause ) { api.pause(); paused = true; alert("Hello! I am an alert box!!"); } }); }); } });
So lets say the time stops 10 and 20 were passed through the “my-custom-popup-content” data attribute. When the video reaches 10s it pauses at the first instance, the alert is triggered and upon closing the video resumes. However it doesn’t popup for the 20s time stop or any other subsequent time stops. Am I using the right set of functions to get the job done?
Kindly advise, Thanks.
Kendell
Hi Martin,
Would flowplayer(0).resume() work multiple times for the same player?
The idea is to have multiple stop points and the ability to resume. The developer was having a bit of issue with it.
Regards,
Kendell4 years ago in reply to: Error loading trascriptHi Martin,
For some strange reason it just came back working on it’s own. I’ll continue to monitor it.
4 years ago in reply to: Error loading trascriptHi Martin,
By opening that link in the browser you mean like manually pasting or typing that link in the address bar? If so, yes. And I’m then prompted to download the file.
Good day,
I’m looking into a hook to resume the video after it has been pause.
I’ve already went ahead to pause the video when the player reaches to a specific time. The user will be required to click some html that will trigger a resume. However, we’re not seeing a hook for resume. Can you please let me know if there’s a hook for this feature?
I’m also attaching some lines of code below of what we came up with to pause and display our custom html using the FV player. Hope it’s a bit useful to explain our case.
//Pause video on timestamp add_filter( 'fv_flowplayer_inner_html', 'my_fv_player_custom_popup'); function my_fv_player_custom_popup($html) { if( have_rows('video_settings_basic_video_settings_overlay_content') ): while ( have_rows('video_settings_basic_video_settings_overlay_content') ) : the_row(); $videostop_value = get_sub_field('video_time_stop_2'); $pull_over = get_sub_field('pull_over_content_2'); $time = $videostop_value; $timeArr = array_reverse(explode(":", $time)); $seconds = 0; foreach ($timeArr as $key => $value) { if ($key > 2) break; $seconds += pow(60, $key) * $value; } $timeInSeconds = $seconds; $html .= "<div class='my-custom-popup' data-attr='".$pull_over."/?botframe=on'><div class='my-custom-popup-content' data-attr='".$timeInSeconds."'></div></div>"; endwhile; else : endif; return $html; }
Thanks.
Regards,
Kendell
4 years ago in reply to: Error loading trascriptHi Martin,
You’re right. I’m seeing a 401 status.
However, the file is accessible via the url. Is there something blocking it or so?
Regards,
Kendell4 years ago in reply to: Error loading trascriptHi Martin,
Thanks for the example.
I’m wondering if a video greater than 1 min in length should be converted and supplied in seconds. Should it?
Regards,
Kendell5 years ago in reply to: Outputs a JavaScript on video start or ends5 years ago in reply to: Outputs a JavaScript on video start or endsHi Martin,
Thanks for the clarification.
I see the new code that you made mention of but i tried nesting it as you’d see below but for some reason it doesn’t work.
jQuery(document).ready(function() { jQuery(".lntent-action").css({display: "none"}); jQuery('.flowplayer').on('fv_track_complete', function(e,api,video_name) { if( typeof(flowplayer) != "undefined" ) { flowplayer( function(api,root) { api.bind('finish', function() { jQuery(".lntent-action").css({display: "block"}); jQuery(".mark_complete_button").click(); }); }); } } ); });
Can in be used within the tracking api as used above or is it my syntax error?
I’m trying to add add the click event only if the video reaches the end but only if the user went all the tv_track tiggers.
Can you please advise?
Regards,
Kendell5 years ago in reply to: Outputs a JavaScript on video start or endsHi Martin,
So just to be clear.
The code below will work even though the user skips ahead in the video by some seconds? For example, we have a 3 mins video, the user begins to watch it and skips to 2:34s in the video. On completion the video will still be treated as complete?
jQuery(‘.flowplayer’).bind(‘fv_track_complete’, function() {
jQuery(this).data(‘flowplayer’).bind(‘finish’, function() {
console.log(‘finish!’)
} );
} );Thanks for the reply.
Just to confirm- Using the Flowplayer ready event, is the video tracking feature applied automatically? Because I’d like to prevent users from seeking through the video to finish.
Kindly let me know.
5 years ago in reply to: Customize the search transcript input5 years ago in reply to: Customize the search transcript inputHello,
I’ve tried debugging for errors but it didn’t return any errors.
I’ve also tried switching themes. But it’s the same on my end.
Regards,
5 years ago in reply to: Customize the search transcript inputHello Martin,
Thanks for the filter.
However, after making the beta switch it seems to break the transcription UI. Please see link below.
https://www.dropbox.com/s/85qepei6e4ck11e/issue.jpg?dl=0
Thanks.
5 years ago in reply to: Customize the search transcript inputThanks @Sylvain and @Martin,
I’ve managed to get the basic setup working with my self hosted video. I’m using the Publitio platform (https://publit.io/) to serve my video to the player.
I’m assuming the video have to be encoded on the fly to get the HLS working?
Regards,
KendellThanks Martin,
Just to confirm. The chapters itself doesn’t have the option to search like the transcript?
Regards,
KendellHi Martin,
Thanks for your reply.
The transcript for the video works as you mentioned, what i’m not able to get working is the timestamp (Kindly see picture in the link below)
https://www.dropbox.com/s/vrswjnlai9ss3ks/timestamps.PNG?dl=0
Hello,
Here’s the link to the file:
www.clevered.org/wp-content/uploads/2019/01/Carcip-Tables_otter.ai_.vtt
It seems to be valid.
Kindly advise,
Regards,
KendellThanks for clearing things up abit.
I’ve played around with the css you provided and manged to get the transcript on the right of the player.
However, when using the
transcript=""
tag in the player shortcode i’m able to get the search and search results navigation buttons showing. I am not able to get time-stamps to go with the words of the transcript. Can the transcript tag handle that functionality?
Regards,
Kendell