CPC G06F 40/106 (2020.01) | 20 Claims |
1. A computer-implemented method of providing responsive content, comprising:
transmitting, by a content server to a client device, a content item package data structure comprising:
(i) a plurality of layouts establishing a size and a position for an asset provided by a provider, and
(ii) instructions to modify at least one of the size or the position of the asset based on a change in a device characteristic,
wherein the instructions, when processed by the client device, cause the client device to:
identify, based on a device type of the client device, a first layout according to which to display the asset;
display a content item including the asset at a first size or position in accordance with the first layout;
detect a change from a first device characteristic to a second device characteristic;
select, based on the detected change from the first device characteristic to the second device characteristic and one or more priorities of the plurality of layouts, a second layout of the plurality of layouts including a first state and a second state, wherein the one or more priorities determine which of the plurality of layouts to use when multiple layouts of the plurality of layouts satisfy the second device characteristic;
modify, using the second layout, the asset to be displayed at a second size or position specified by the second layout;
display, on a screen associated with the client device, the content item including the asset in accordance with the first state of the second layout of the plurality of layouts;
receive an indication of an interaction event with the content item; and
responsive to receiving the indication, modify the display of the content item from the first state of the second layout to the second state of the second layout such that displaying the content item in the second state covers a different proportion of the screen than displaying the content item in the first state.
|