How to lock the content of the video / publish after a delay of x seconds (seconds) viewed?

I'd like to lock the post or video player after x seconds of time spent on the viewer or browser, then show a html code afterwards.
How to do?
I do not have any code for that.

WebPart – Media Content and Content Do Not Appear in Sharepoint Online

Battery Exchange Network

The Stack Exchange network includes 175 question-and-answer communities, including Stack Overflow, the largest and most reliable online community on which developers can learn, share knowledge and build their careers.

Visit Stack Exchange

Ultimate Content Display | NulledTeam UnderGround

Make additional changes to display your important content on your forums.

In a few steps, you can do this:


With these plugins, you can:

  • set the background of the image
  • define the category (easy field)
  • define the color of the link
  • define the description color
  • set the color of the category
  • define animated effects (predefined)
  • set up 6 content elements
  • adjust the height of the main content
  • adjust the height for reagent …

50 words in just 1. Creative writing for content, blogs, articles for $ 1

50 words in just $ 1 … Creative writing of content, blogs, articles

50 words in just $ 1 … Professional creative copywriter for content, blogs and articles on various topics, including Islamic finance, economics, banking and finance, education, media social, etc.


How to solve: Precious inventory: No content

I applied for adsense and I had:
Valuable inventory: no content
My site has 120 messages so far. Do you have any idea how to solve this problem?
she is the site:
Thank you!

Web Design – Best way to display search results for different types of content

There are 2 main ways to display search results for different types of content:

  • List of unique search results
  • Discrete result sections for each type of element

List of unique search results

Used when users want to find something but do not know or are less concerned about the type of item. This approach is more suitable for browsing search results and is preferred by e-commerce sites and blogs.

enter the description of the image here

As described in Benny Skogberg's answer, search results for different types of content are grouped and sorted by relevance to facilitate digitization. You can insert identifiers to indicate the type of content, but they must be subtle so as not to prevent the user from finding what he needs.

Additional filtering features, such as faceted search, are useful in cases where users need to refine their search results.

Discrete result sections for each type of element

Used when users know exactly what they want and that type of item is very relevant. This approach is used in Mac and Windows operating systems for file search.

enter the description of the image hereenter the description of the image here

By removing the answer from BDD, this style is intended to allow the user to quickly find a specific item which he knows exists in the system. The user knows exactly what he wants, including the type of item. Grouping results by type of item makes it easy to zoom to the appropriate item. Additional categories of meta type, such as "Top Hit", can be introduced to facilitate the process.

Content Query WebPart – CQWP editable via Design Manager

I've created a dynamic CQWP via the Design Manager so I can take advantage of the code snippet to incorporate into the layout. It works well but I have an extra requirement. This is so that this CQWP is editable when it is rendered in edit mode on Sharepoint 2013 – when my layout is used.

I have tried to play with the Advanced setting in the Design Manager by checking and unchecking the following options:
Allow masking
Allow closing

Can any one help find a solution to make my CQWP editable using Deign Manager?

7 – How to calculate the field value of another type of content using the calculation field module?

I have two types of content. Let's call them "A" and "B".

A has knots with field_cost

B has nodes with field_total_cost

Content type A has field_costumer which is referenced to the content entity B.

Which means that the title of the content B node = field_costumer value of node A.

They have a many to one relationship. In the picture below, Node x has two nodes attached to it Node y.

enter the description of the image here

I wanted to calculate the total number of content type A nodes that are attached to a particular node of content type B (for example, node X).

I was able to accomplish:

$ type = A & # 39;
$ nest = $ entity-> nest;
$ query = new EntityFieldQuery;
$ result = $ query
-> entityCondition ('entity_type', & # 39; node & # 39;)
-> propertyCondition (& # 39 ;, 1)
-> propertyCondition (& # 39; type; $ type)
-> fieldCondition (& # 39; field_customer & # 39 ;, & # 39; target_id & # 39 ;, $ nest, & # 39; =)
-> execute ();

$ cant = count ($ result['node'])
$ entity_field[0]['value']    = $ cant;

I had the desired result which was:


Now here is the problem:
I want to summarize a particular column (field) of content type A nodes that are connected to Node X.

j & # 39; uses calculated field drupal module 7.

I've tried different methods, for example using field_cost_value and passed it as a column name instead of the usual entity reference target_id. I created a variable and tried to load the node of content type A and pass it to get the result $ result[‘node’][‘field_cost’] but failed.

I am out of my effort here. Help me.

Google index cookie message instead of descriptive content

We have recently launched a new website and, as it is global in scope, we enable the cookie policy warning to everyone on first access. The problem is that Google indexes it as body content, as you can see in the attached image.

bad results on google

How can I avoid it?